c++ - 请问OMP_NUM_THREADS 是什么?怎么设置?
大家讲道理
大家讲道理 2017-04-17 13:48:22
0
1
986
大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
阿神

OMP_NUM_THREADS is the number of threads available for execution. Your code uses getenv, so the environment variables are set.
Created a new variable but still prompts Set environment OMP_NUM_THREADS to 1 because your execution environment does not inherit the environment variable.
You need to export OMP_NUM_THREADS.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template