CMS 3D CMS Logo

ROCmTestKernelAdditionAlgo.hip.cc
Go to the documentation of this file.
1 #include <cstddef>
2 
3 #include <hip/hip_runtime.h>
4 
7 
9 
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
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
#define hipCheck(ARG,...)
Definition: hipCheck.h:52