CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
HeterogeneousTestCUDAKernelPlugins Namespace Reference

Functions

void wrapper_add_vectors_f (const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
 

Function Documentation

◆ wrapper_add_vectors_f()

void HeterogeneousTestCUDAKernelPlugins::wrapper_add_vectors_f ( const float *__restrict__  in1,
const float *__restrict__  in2,
float *__restrict__  out,
size_t  size 
)

Definition at line 19 of file ROCmTestDeviceAdditionAlgo.hip.cc.

Referenced by CUDATestKernelAdditionModule::analyze().

22  {
23  kernel_add_vectors_f<<<32, 32>>>(in1, in2, out, size);
24  hipCheck(hipGetLastError());
25  }
size
Write out results.
#define hipCheck(ARG,...)
Definition: hipCheck.h:52