diff --git a/paddle/majel/test/cuda_test.cu b/paddle/majel/test/cuda_test.cu index ebc9a2786e1b03f06200f6217f43e85555787d11..28cda19ef989483f7658711b9c17f0f7e12e3090 100644 --- a/paddle/majel/test/cuda_test.cu +++ b/paddle/majel/test/cuda_test.cu @@ -5,9 +5,9 @@ #define CHECK_ERR(x) \ if (x != cudaSuccess) { \ fprintf(stderr,"%s in %s at line %d\n", \ - cudaGetErrorString(err),__FILE__,__LINE__); \ - exit(-1); \ - } \ + cudaGetErrorString(err),__FILE__,__LINE__); \ + exit(-1); \ + } __global__ void vecAdd (float* d_A, float* d_B, float* d_C, int n) { int i = blockDim.x * blockIdx.x + threadIdx.x;