Doc update - describe debug techniques

Also tweak sample to remove unneeded HIP_KERNEL_NAME.
Comment update
이 커밋은 다음에 포함됨:
Ben Sander
2017-01-19 12:33:06 -06:00
부모 2ffc9f4e22
커밋 ca1cef4e06
3개의 변경된 파일49개의 추가작업 그리고 2개의 파일을 삭제
+1 -1
파일 보기
@@ -81,7 +81,7 @@ int main(int argc, char *argv[])
const unsigned threadsPerBlock = 256;
printf ("info: launch 'vector_square' kernel\n");
hipLaunchKernel(HIP_KERNEL_NAME(vector_square), dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);
hipLaunchKernel(vector_square, dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);
printf ("info: copy Device2Host\n");
CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));