Dear forum, The toy code below returns "sum = 256" on my 5110P. Any thoughts on why oversubscription did not work? Thanks!
PS:
Driver Version : 3.5.1-1
MPSS Version : 3.5.1
icpc version 15.0.6
#include <stdio.h> #include <stdlib.h> #include <omp.h> #include <iostream> int main( int argc, char* argv[] ) { omp_set_num_threads(480); int sum = 0; #pragma omp parallel { #pragma omp atomic sum += 1; } std::cout << "sum = "<< sum << std::endl; return 0; }