793dc2bce0
Change-Id: Id0033678834288c4eaa56b12e7d447119be99deb
7 lines
109 B
Plaintext
7 lines
109 B
Plaintext
extern "C" __global__ void hello_world(float *a, float *b)
|
|
{
|
|
int tx = threadIdx.x;
|
|
b[tx] = a[tx];
|
|
|
|
}
|