Adapt lit test for the hipLaunchKernelGGL changes from before...

[ROCm/hip commit: 711f495041]
Tá an tiomantas seo le fáil i:
Chris Kitching tiomanta 2017-10-23 13:39:37 +01:00
1 tuismitheoir 641f09e39d
tiomantas 90cda6a00a
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -28,7 +28,7 @@ int main(int argc, char* argv[]) {
cudaMemcpy(device_x, host_x, kDataLen * sizeof(float), cudaMemcpyHostToDevice);
// Launch the kernel.
// CHECK: hipLaunchKernel(HIP_KERNEL_NAME(axpy), dim3(1), dim3(kDataLen), 0, 0, a, device_x, device_y);
// CHECK: hipLaunchKernelGGL(axpy, dim3(1), dim3(kDataLen), 0, 0, a, device_x, device_y);
axpy<<<1, kDataLen>>>(a, device_x, device_y);
// Copy output data to host.