Fix compilation error with nvcc (c++ nullptr)

[ROCm/hip commit: 6d5ac3fbac]
이 커밋은 다음에 포함됨:
Ben Sander가 2017-04-21 09:01:34 -05:00를 커밋했습니다
1 부모 f762edf621
커밋 84f9f6dc5c
2 파일이 변경됨
+2 -1

검색과 일치하는 파일 없음

+1
파일 보기
@@ -15,5 +15,6 @@ square.hip.out: square.hipref.cpp
clean:
rm -f *.o *.out
+1 -1
파일 보기
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
const unsigned threadsPerBlock = 256;
printf ("info: launch 'vector_square' kernel\n");
hipLaunchKernel(vector_square, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, 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));