corrected offline kernel compilation on hipcc path

1. hipgenisa.sh now adds int main(){} during kernel compilation. User does not have to put it there
2. Renamed vcpy_isa.cpp to vcpy_kernel.cpp
3. Removed vcpy_isa.cu as the kernel code should be common for both paths
4. Changed Makefile and runkernel.cpp to work with above changes

Change-Id: I9f8c84706b44bb500bc493a68e959762b55a0142
이 커밋은 다음에 포함됨:
Aditya Atluri
2016-09-02 13:17:17 -05:00
부모 512ff8ec8e
커밋 6ca7a87e0e
4개의 변경된 파일9개의 추가작업 그리고 16개의 파일을 삭제
+8
파일 보기
@@ -0,0 +1,8 @@
#include<hip_runtime.h>
__global__ void hello_world(hipLaunchParm lp, float *a, float *b)
{
int tx = hipThreadIdx_x;
b[tx] = a[tx];
}