CMS 3D CMS Logo

DeviceAdditionWrapper.h
Go to the documentation of this file.
1 #ifndef HeterogeneousTest_ROCmWrapper_interface_DeviceAdditionWrapper_h
2 #define HeterogeneousTest_ROCmWrapper_interface_DeviceAdditionWrapper_h
3 
4 #include <cstddef>
5 
6 namespace cms::rocmtest {
7 
8  void wrapper_add_vectors_f(const float* __restrict__ in1,
9  const float* __restrict__ in2,
10  float* __restrict__ out,
11  size_t size);
12 
13  void wrapper_add_vectors_d(const double* __restrict__ in1,
14  const double* __restrict__ in2,
15  double* __restrict__ out,
16  size_t size);
17 
18 } // namespace cms::rocmtest
19 
20 #endif // HeterogeneousTest_ROCmWrapper_interface_DeviceAdditionWrapper_h
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
void wrapper_add_vectors_d(const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size)