Files
rocm-systems/projects/hip/samples/0_Intro/module_api/vcpy_isa.cu
T
Aditya Atluri 87d3977451 added sample for how-to-use pre-compiled kernels1. Corrected the exit output of kernel compilation by hipcc
2. Added sample which loads/run kernel binary during runtime?

Change-Id: I26ccaca1f844fee317592e26c9e654ce548b96a8


[ROCm/hip commit: d5a6e22c59]
2016-08-31 13:56:07 -05:00

7 baris
103 B
Plaintext

extern "C" __global__ void hello_world(float *a, float *b)
{
int tx = threadIdx.x;
b[tx] = a[tx];
}