ba8a05a3c0
Change-Id: Ida087d832df8e1f3620b38f920ec2853aad641c8
9 lines
160 B
C++
9 lines
160 B
C++
#include "hip/hip_runtime.h"
|
|
|
|
extern "C" __global__ void hello_world(hipLaunchParm lp, float *a, float *b)
|
|
{
|
|
int tx = hipThreadIdx_x;
|
|
b[tx] = a[tx];
|
|
}
|
|
|