omp_get_max_threads instead of omp_get_num_threads for gcc compiler adaption
Signed-off-by: TejeshPala <tejesh.pala@fau.de>
This commit is contained in:
		@@ -328,7 +328,7 @@ int main(int argc, char** argv) {
 | 
			
		||||
        	case omp_sched_auto:    strcpy(schedType, "auto"); break;
 | 
			
		||||
    	}
 | 
			
		||||
 | 
			
		||||
    	nthreads = omp_get_num_threads();
 | 
			
		||||
    	nthreads = omp_get_max_threads();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    printf("Num threads: %d\n", nthreads);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user