Merge branch 'amd-develop' into amd-master

Change-Id: I312fb9d1181733ef5160d1e993e2ae57ced0f6b3
(cherry picked from commit 88fb807af0)
이 커밋은 다음에 포함됨:
Maneesh Gupta
2017-04-24 08:50:43 +05:30
커밋한 사람 Maneesh Gupta
부모 9fcc03e2b6
커밋 b8fd2f159a
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));