File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 80
80
81
81
llvm_config .with_environment ("PATH" , config .lit_tools_dir , append_path = True )
82
82
83
- if "cuda:gpu" in config .sycl_devices :
84
- llvm_config .with_system_environment ("CUDA_PATH" )
85
-
86
- if "hip:gpu" in config .sycl_devices :
87
- llvm_config .with_system_environment ("ROCM_PATH" )
88
-
89
83
# Configure LD_LIBRARY_PATH or corresponding os-specific alternatives
90
84
if platform .system () == "Linux" :
91
85
config .available_features .add ("linux" )
456
450
+ ", " .join (supported_hip_platforms )
457
451
)
458
452
453
+ if "cuda:gpu" in config .sycl_devices :
454
+ llvm_config .with_system_environment ("CUDA_PATH" )
455
+
459
456
# FIXME: This needs to be made per-device as well, possibly with a helper.
460
457
if "hip:gpu" in config .sycl_devices and config .hip_platform == "AMD" :
461
458
llvm_config .with_system_environment ("ROCM_PATH" )
You can’t perform that action at this time.
0 commit comments