Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 4e586a1

Browse files
[SYCL-MLIR] Turn off warnings
Signed-off-by: Tsang, Whitney <[email protected]>
1 parent ca6f5e8 commit 4e586a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SYCL/lit.cfg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,11 @@
376376
config.substitutions.append( ('%ACC_CHECK_PLACEHOLDER', acc_check_substitute) )
377377

378378
if config.sycl_be == 'ext_oneapi_cuda' or (config.sycl_be == 'ext_oneapi_hip' and config.hip_platform == 'NVIDIA'):
379-
config.substitutions.append( ('%sycl_triple', "nvptx64-nvidia-cuda-syclmlir" ) )
379+
config.substitutions.append( ('%sycl_triple', "nvptx64-nvidia-cuda-syclmlir -w" ) )
380380
elif config.sycl_be == 'ext_oneapi_hip' and config.hip_platform == 'AMD':
381-
config.substitutions.append( ('%sycl_triple', "amdgcn-amd-amdhsa-syclmlir" ) )
381+
config.substitutions.append( ('%sycl_triple', "amdgcn-amd-amdhsa-syclmlir -w" ) )
382382
else:
383-
config.substitutions.append( ('%sycl_triple', "spir64-unknown-unknown-syclmlir" ) )
383+
config.substitutions.append( ('%sycl_triple', "spir64-unknown-unknown-syclmlir -w" ) )
384384

385385
if find_executable('sycl-ls'):
386386
config.available_features.add('sycl-ls')

0 commit comments

Comments
 (0)