Initial integration with Alex' Generic Grid Launch

Change-Id: I559afb80e9e39ec0d119bb3bf3b85ef9e448caf6
Tá an tiomantas seo le fáil i:
pensun údaraithe agus Sun, Peng tiomanta 2017-03-17 14:59:34 -05:00
1 tuismitheoir 99432cc12c
tiomantas 33c38de407
10 comhad athraithe
+376 -25

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, dim3(blocks), dim3(threadsPerBlock), 0, 0, C_d, A_d, N);
hipLaunchKernel(vector_square<float>, dim3(blocks), dim3(threadsPerBlock), 0, nullptr, C_d, A_d, N);
printf ("info: copy Device2Host\n");
CHECK ( hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost));