src
HeterogeneousTest
CUDADevice
interface
DeviceAddition.h
Go to the documentation of this file.
1
#ifndef HeterogeneousTest_CUDADevice_interface_DeviceAddition_h
2
#define HeterogeneousTest_CUDADevice_interface_DeviceAddition_h
3
4
#include <cstddef>
5
6
#include <cuda_runtime.h>
7
8
namespace
cms::cudatest
{
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::cudatest
21
22
#endif // HeterogeneousTest_CUDADevice_interface_DeviceAddition_h
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
cms::cudatest
Definition:
ScopedContext.h:18
cms::cudatest::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
cms::cudatest::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
__device__
#define __device__
Definition:
SiPixelGainForHLTonGPU.h:15
Generated for CMSSW Reference Manual by
1.8.14