diff --git a/tests/.gitignore b/tests/.gitignore index c08de5b99c2039b886f798a20cdaed9985487825..7a7f0c8547990109b6d114c2d89b56d6852ef63f 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -4,3 +4,4 @@ test_api test_cpu test_kernel test_kernel_call +cudnn-samples diff --git a/tests/test_apps/overhead.cu b/tests/test_apps/overhead.cu index 6928422044bd46c0107d433b309f7ed491fe3484..ba9ebcccfdd2c498408c51907f7f0360bdf9a541 100644 --- a/tests/test_apps/overhead.cu +++ b/tests/test_apps/overhead.cu @@ -7,7 +7,7 @@ #include <cuda_runtime.h> #define ITERATIONS 100000 -#define WARUMUPS 10 +#define WARMUPS 100 #define MEMSIZE 1024*1024 const int blocksize = 32; @@ -33,7 +33,7 @@ int main() printf("init CUDA\n"); cudaGetDeviceCount(&cnt); printf("1. cudaGetDeviceCount (%d iterations)\n", iterations); - for (int i=0; i != WARUMUPS; i++) { + for (int i=0; i != WARMUPS; i++) { cudaGetDeviceCount(&cnt); } gettimeofday(&begin, NULL);