3 #include <hip/hip_runtime.h> 13 const float* __restrict__ in2,
14 float* __restrict__
out,
20 const float* __restrict__ in2,
21 float* __restrict__
out,
23 kernel_add_vectors_f<<<32, 32>>>(in1, in2,
out, size);
__device__ void add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
__global__ void kernel_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
#define hipCheck(ARG,...)