cd0589ff02
2. Added sample which loads/run kernel binary during runtime?
Change-Id: I26ccaca1f844fee317592e26c9e654ce548b96a8
[ROCm/hip-tests commit: c1b1086c71]
10 baris
157 B
C++
10 baris
157 B
C++
#include<hip_runtime.h>
|
|
|
|
__global__ void hello_world(hipLaunchParm lp, float *a, float *b)
|
|
{
|
|
int tx = hipThreadIdx_x;
|
|
b[tx] = a[tx];
|
|
}
|
|
|
|
int main(){}
|