8cae08c2d7
Change-Id: Id88abb3698a224177fd0531e3e16013dde6dd95e
[ROCm/hip commit: 7ae453f349]
7 lines
103 B
Plaintext
7 lines
103 B
Plaintext
|
|
extern "C" __global__ void hello_world(float *a, float *b)
|
|
{
|
|
int tx = threadIdx.x;
|
|
b[tx] = a[tx];
|
|
}
|