revert workaround for square sample and update doc on GGL

Change-Id: I731c68ca4111e7dc2e45bef51c4cad2c23fc81f8
Tá an tiomantas seo le fáil i:
Sun, Peng tiomanta 2017-03-21 10:26:09 -05:00
1 tuismitheoir e21d4f03f1
tiomantas 14f8c7cf74
5 comhad athraithe
+4 -11

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -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));