3 #include <hip/hip_runtime.h> 12 const float* __restrict__ in2,
13 float* __restrict__
out,
16 kernel_add_vectors_f<<<32, 32>>>(in1, in2,
out,
size);
21 const double* __restrict__ in2,
22 double* __restrict__
out,
25 kernel_add_vectors_d<<<32, 32>>>(in1, in2,
out,
size);
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
#define hipCheck(ARG,...)
void wrapper_add_vectors_d(const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size)