For module_api sample, use vcpy_kernel.cu to generate ptx file for NV path.

Change-Id: Id0033678834288c4eaa56b12e7d447119be99deb


[ROCm/hip commit: e08f4513c1]
이 커밋은 다음에 포함됨:
pensun가 2016-09-03 21:06:58 -05:00를 커밋했습니다
1 부모 c394892227
커밋 e9f4f40a45
2 파일이 변경됨
+8 -2

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -21,8 +21,8 @@ endif
ifeq (${HIP_PLATFORM}, nvcc)
vcpy_kernel.compile: vcpy_kernel.cpp
$(HIPCC) --genco vcpy_kernel.cpp -o vcpy_kernel.ptx
vcpy_kernel.compile: vcpy_kernel.cu
$(HIPCC) --genco vcpy_kernel.cu -o vcpy_kernel.ptx
clean:
rm -f *.ptx *.out
+6
파일 보기
@@ -0,0 +1,6 @@
extern "C" __global__ void hello_world(float *a, float *b)
{
int tx = threadIdx.x;
b[tx] = a[tx];
}