src
HeterogeneousTest
ROCmDevice
interface
DeviceAddition.h
Go to the documentation of this file.
1
#ifndef HeterogeneousTest_ROCmDevice_interface_DeviceAddition_h
2
#define HeterogeneousTest_ROCmDevice_interface_DeviceAddition_h
3
4
#include <cstddef>
5
6
#include <hip/hip_runtime.h>
7
8
namespace
cms::rocmtest
{
9
10
__device__
void
add_vectors_f
(
const
float
* __restrict__ in1,
11
const
float
* __restrict__ in2,
12
float
* __restrict__
out
,
13
size_t
size
);
14
15
__device__
void
add_vectors_d
(
const
double
* __restrict__ in1,
16
const
double
* __restrict__ in2,
17
double
* __restrict__
out
,
18
size_t
size
);
19
20
}
// namespace cms::rocmtest
21
22
#endif // HeterogeneousTest_ROCmDevice_interface_DeviceAddition_h
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
cms::rocmtest::add_vectors_f
__device__ void add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
Definition:
DeviceAddition.hip.cc:10
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
cms::rocmtest::add_vectors_d
__device__ void add_vectors_d(const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size)
Definition:
DeviceAddition.hip.cc:22
cms::rocmtest
Definition:
requireDevices.h:8
__device__
#define __device__
Definition:
SiPixelGainForHLTonGPU.h:15
Generated for CMSSW Reference Manual by
1.8.14