diff --git a/atax/atax.cu b/atax/atax.cu index 7a2c6db..3c8458b 100644 --- a/atax/atax.cu +++ b/atax/atax.cu @@ -109,7 +109,7 @@ __host__ int main(int argc, char **argv) { // A[NY][NX] DATA_TYPE** A = new DATA_TYPE*[NX] {}; - for(int i = 0; i < NX; i++) + for(unsigned int i = 0; i < NX; i++) { A[i] = new DATA_TYPE[NY]; }