MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / omp_flags

Function omp_flags

setup.py:74–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def omp_flags():
75 if sys.platform == "win32":
76 return ["/openmp"]
77 if sys.platform == "darwin":
78 # https://stackoverflow.com/questions/37362414/
79 # return ["-fopenmp=libiomp5"]
80 return []
81 return ["-fopenmp"]
82
83
84def get_extensions():

Callers 1

get_extensionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…