diff --git a/tests/src/cudaRegister.cu b/tests/src/cudaRegister.cu index 1fc456f5fa..6ea038a71a 100644 --- a/tests/src/cudaRegister.cu +++ b/tests/src/cudaRegister.cu @@ -26,7 +26,7 @@ THE SOFTWARE. #define LEN 1024*1024 #define SIZE LEN * sizeof(float) -#define ITER 1024*128 +#define ITER 1024*1024 #define check(msg, status){ \ if(status != cudaSuccess) { \ @@ -66,15 +66,16 @@ int main(){ dim3 dimGrid(LEN/512,1,1); dim3 dimBlock(512,1,1); Inc1<<>>(Ad); - A[1] = -(ITER*1.0f); + A[0] = -(ITER*1.0f); + std::cout<>>(Ad); - A[1] = -(ITER*1.0f); + A[0] = -(ITER*1.0f); cudaDeviceSynchronize(); - std::cout<