From 26a73e48f976216374fc8a9294228673648a1d1d Mon Sep 17 00:00:00 2001 From: liaogang Date: Wed, 17 May 2017 15:07:05 +0800 Subject: [PATCH] update code --- paddle/majel/test/cuda_test.cu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/majel/test/cuda_test.cu b/paddle/majel/test/cuda_test.cu index ebc9a2786e..28cda19ef9 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; -- GitLab