Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
HeterogeneousTest
ROCmKernel
plugins
ROCmTestKernelAdditionAlgo.hip.cc
Go to the documentation of this file.
1
#include <cstddef>
2
3
#include <hip/hip_runtime.h>
4
5
#include "
HeterogeneousTest/ROCmKernel/interface/DeviceAdditionKernel.h
"
6
#include "
HeterogeneousCore/ROCmUtilities/interface/hipCheck.h
"
7
8
#include "
ROCmTestKernelAdditionAlgo.h
"
9
10
namespace
HeterogeneousCoreROCmTestKernelPlugins
{
11
12
void
wrapper_add_vectors_f
(
const
float
* __restrict__ in1,
13
const
float
* __restrict__ in2,
14
float
* __restrict__
out
,
15
size_t
size) {
16
cms::rocmtest::kernel_add_vectors_f<<<32, 32>>>(in1, in2,
out
, size);
17
hipCheck
(hipGetLastError());
18
}
19
20
}
// namespace HeterogeneousCoreROCmTestKernelPlugins
ROCmTestKernelAdditionAlgo.h
DeviceAdditionKernel.h
HeterogeneousCoreROCmTestKernelPlugins
Definition:
ROCmTestKernelAdditionAlgo.h:6
HeterogeneousCoreROCmTestKernelPlugins::wrapper_add_vectors_f
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
Definition:
ROCmTestKernelAdditionAlgo.hip.cc:12
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
hipCheck
#define hipCheck(ARG,...)
Definition:
hipCheck.h:52
hipCheck.h
Generated for CMSSW Reference Manual by
1.8.14