revert workaround for square sample and update doc on GGL

Change-Id: I731c68ca4111e7dc2e45bef51c4cad2c23fc81f8
Цей коміт міститься в:
Sun, Peng
2017-03-20 17:03:21 -05:00
джерело d09afd23b8
коміт 329e2182d6
5 змінених файлів з 4 додано та 11 видалено
+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<float>, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, C_d, A_d, N);
hipLaunchKernel(vector_square, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, C_d, A_d, N);
printf ("info: copy Device2Host\n");
CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));