File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ def map_name(name):
3838 "DeviceMergeSortBlockSortKernel" ,
3939 "DeviceMergeSortMergeKernel" ,
4040 "DeviceMergeSortPartitionKernel" ,
41+ "DeviceRadixSortHistogramKernel" ,
42+ "DeviceRadixSortOnesweepKernel" ,
43+ "DeviceRadixSortExclusiveSumKernel" ,
4144 ]:
4245 return "Thrust::sort"
4346 elif name in ["_kernel_agent" , "static_kernel" ]:
Original file line number Diff line number Diff line change 1414
1515DETERMINISTIC_ORDER_COMMIT = "7e7f17ccd2e2b0db8971655773b351a365ee1cfc"
1616BOOLEAN_FLAG_COMMIT = "380fc78ba63a79ed5c8f19d01d57636aa31cf4fd"
17+ INHOMOGENEOUS_BFIELD_COMMIT = "3654a64d5fe06509e6bf8be332f5aae7b8ff2da9"
1718
1819
1920def run_profile (
@@ -69,6 +70,19 @@ def run_profile(
6970 profile_args .append ("--use-acts-geom-source" )
7071 profile_args .append ("--use-detray-detector" )
7172
73+ if git .is_parent_of (commit , INHOMOGENEOUS_BFIELD_COMMIT ):
74+ log .info (
75+ "Commit is a child of (or is) %s; enabling inhomogeneous magnetic field" ,
76+ INHOMOGENEOUS_BFIELD_COMMIT [:8 ],
77+ )
78+ profile_args .append ("--read-bfield-from-file" )
79+ profile_args .append ("--bfield-file=geometries/odd/odd-bfield.cvf" )
80+ else :
81+ log .info (
82+ "Commit is not a child of %s; disabling inhomogeneous magnetic field" ,
83+ INHOMOGENEOUS_BFIELD_COMMIT [:8 ],
84+ )
85+
7286 subprocess .run (
7387 profile_args ,
7488 stdout = subprocess .DEVNULL ,
You can’t perform that action at this time.
0 commit comments