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

Commit 44eebc9

Browse files
[SYCL-MLIR] Turn off warnings (#1605)
Signed-off-by: Tsang, Whitney <[email protected]>
1 parent 1112ae2 commit 44eebc9

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
@@ -388,11 +388,11 @@
388388
config.recursiveExpansionLimit = 10
389389

390390
if config.sycl_be == 'ext_oneapi_cuda' or (config.sycl_be == 'ext_oneapi_hip' and config.hip_platform == 'NVIDIA'):
391-
config.substitutions.append( ('%sycl_triple', "nvptx64-nvidia-cuda-syclmlir" ) )
391+
config.substitutions.append( ('%sycl_triple', "nvptx64-nvidia-cuda-syclmlir -w" ) )
392392
elif config.sycl_be == 'ext_oneapi_hip' and config.hip_platform == 'AMD':
393-
config.substitutions.append( ('%sycl_triple', "amdgcn-amd-amdhsa-syclmlir" ) )
393+
config.substitutions.append( ('%sycl_triple', "amdgcn-amd-amdhsa-syclmlir -w" ) )
394394
else:
395-
config.substitutions.append( ('%sycl_triple', "spir64-unknown-unknown-syclmlir" ) )
395+
config.substitutions.append( ('%sycl_triple', "spir64-unknown-unknown-syclmlir -w" ) )
396396

397397
if find_executable('sycl-ls'):
398398
config.available_features.add('sycl-ls')

0 commit comments

Comments
 (0)