For module_api sample, use vcpy_kernel.cu to generate ptx file for NV path.
Change-Id: Id0033678834288c4eaa56b12e7d447119be99deb
[ROCm/hip commit: e08f4513c1]
Bu işleme şunda yer alıyor:
@@ -0,0 +1,6 @@
|
||||
extern "C" __global__ void hello_world(float *a, float *b)
|
||||
{
|
||||
int tx = threadIdx.x;
|
||||
b[tx] = a[tx];
|
||||
|
||||
}
|
||||
Yeni konuda referans
Bir kullanıcı engelle