CMS 3D CMS Logo

DeviceAdditionOpaque.h
Go to the documentation of this file.
1 #ifndef HeterogeneousTest_CUDAOpaque_interface_DeviceAdditionOpaque_h
2 #define HeterogeneousTest_CUDAOpaque_interface_DeviceAdditionOpaque_h
3 
4 #include <cstddef>
5 
6 namespace cms::cudatest {
7 
8  void opaque_add_vectors_f(const float* in1, const float* in2, float* out, size_t size);
9 
10  void opaque_add_vectors_d(const double* in1, const double* in2, double* out, size_t size);
11 
12 } // namespace cms::cudatest
13 
14 #endif // HeterogeneousTest_CUDAOpaque_interface_DeviceAdditionOpaque_h
size
Write out results.
void opaque_add_vectors_d(const double *in1, const double *in2, double *out, size_t size)
void opaque_add_vectors_f(const float *in1, const float *in2, float *out, size_t size)