diff --git a/source_files/main.c b/source_files/main.c index 1d1aaaa0..2e0fde7f 100644 --- a/source_files/main.c +++ b/source_files/main.c @@ -315,12 +315,6 @@ static void evaluate_environment() current_cpu++; } } -$CUDA #ifdef CUDA -$CUDA NUM_THREADS++; //+1 for the CUDA-thread! -$CUDA #endif -$CUDA #elif defined(CUDA) -$CUDA if (NUM_THREADS==0) NUM_THREADS = cpuinfo->num_cpus+1; //+1 for the CUDA-thread! -$CUDA else NUM_THREADS++; #else if (NUM_THREADS==0) NUM_THREADS = cpuinfo->num_cpus; #endif