revert workaround for square sample and update doc on GGL

Change-Id: I731c68ca4111e7dc2e45bef51c4cad2c23fc81f8


[ROCm/hip-tests commit: c4c4d95db6]
Этот коммит содержится в:
Sun, Peng
2017-03-20 17:03:21 -05:00
родитель d33885889d
Коммит d59dbb3fd6
+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));