This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 6
6
// UNSUPPORTED: cuda
7
7
// Disable test due to flaky failure on CUDA(issue #387)
8
8
9
+ // XFAIL: ze_debug-1,ze_debug4
10
+
9
11
// NOTE: The libclc target used by the CUDA backend used to generate atomic load
10
12
// variants that were unsupported by NVPTX. Even if they were not used
11
13
// directly, sycl::stream and other operations would keep the invalid
Original file line number Diff line number Diff line change 100
100
if lit_config .params .get ('matrix' , False ):
101
101
config .available_features .add ('matrix' )
102
102
103
+ #support for LIT parameter ze_debug<num>
104
+ if lit_config .params .get ('ze_debug' ):
105
+ config .ze_debug = lit_config .params .get ('ze_debug' )
106
+ lit_config .note ("ZE_DEBUG: " + config .ze_debug )
107
+
103
108
# check if compiler supports CL command line options
104
109
cl_options = False
105
110
sp = subprocess .getstatusoutput (config .dpcpp_compiler + ' /help' )
293
298
294
299
if config .sycl_be == "level_zero" :
295
300
gpu_l0_check_substitute = "| FileCheck %s"
301
+ if lit_config .params .get ('ze_debug' ):
302
+ gpu_run_substitute = " env ZE_DEBUG={ZE_DEBUG} SYCL_DEVICE_FILTER=level_zero:gpu,host " .format (ZE_DEBUG = config .ze_debug )
303
+ config .available_features .add ('ze_debug' + config .ze_debug )
296
304
297
305
if platform .system () == "Linux" :
298
306
gpu_run_on_linux_substitute = "env SYCL_DEVICE_FILTER={SYCL_PLUGIN}:gpu,host " .format (SYCL_PLUGIN = config .sycl_be )
You can’t perform that action at this time.
0 commit comments