File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010# or submit itself to any jurisdiction.
1111
1212# NOTE!!!! - Whenever this file is changed, move it over to alidist/resources
13- # FindO2GPU.cmake Version 5
13+ # FindO2GPU.cmake Version 6
1414
1515if (NOT DEFINED ENABLE_CUDA)
1616 set (ENABLE_CUDA "AUTO" )
@@ -71,6 +71,9 @@ endfunction()
7171STRING (REGEX REPLACE "\- std=[^ ]*" "" O2_GPU_CMAKE_CXX_FLAGS_NOSTD "${CMAKE_CXX_FLAGS} " )
7272
7373# ================================== Fast Math / Deterministic Mode ==================================
74+ if (DEFINED ENV{O2_OVERRIDE_GPUCA_DETERMINISTIC_MODE})
75+ set (GPUCA_DETERMINISTIC_MODE $ENV{O2_OVERRIDE_GPUCA_DETERMINISTIC_MODE} )
76+ endif ()
7477# set(GPUCA_DETERMINISTIC_MODE WHOLEO2) # Override
7578set (GPUCA_DETERMINISTIC_MODE_MAP_OFF 0)
7679set (GPUCA_DETERMINISTIC_MODE_MAP_NO_FAST_MATH 1) # No -ffast-math and similar compile flags for GPU folder
You can’t perform that action at this time.
0 commit comments