你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Corrected single/double equals bug with OMP darwin option.
这个提交包含在:
@@ -62,7 +62,7 @@ def process_singlecmds(singlecmds, G):
|
||||
|
||||
# Number of threads (OpenMP) to use
|
||||
cmd = '#num_threads'
|
||||
if sys.platform = 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
os.environ['OMP_WAIT_POLICY'] = 'ACTIVE' # What to do with threads when they are waiting; can drastically effect performance
|
||||
os.environ['OMP_DYNAMIC'] = 'FALSE'
|
||||
os.environ['OMP_PROC_BIND'] = 'TRUE' # Bind threads to physical cores
|
||||
|
在新工单中引用
屏蔽一个用户