Building the OpenMP Branch of LLVM/Clang

preview_player
Показать описание
The Clang compiler in the LLVM tools doesn't support OpenMP by default. But a branch is available that does. Jeff Cogswell shows you how to build this branch and then compile an OpenMP program.
Рекомендации по теме
Комментарии
Автор

tnx for the video, but still after OMP_NUM_THREADS=N I can't have my openmp program run with more than 1 thread :
(bash-4.1$ ./a.out 
Hello from thread 0, nthreads 1)
any ideas ? :) 

AmirHAshouri