Skip to content

Commit f45f44e

Browse files
pgorlanibb-sycl
authored andcommitted
[SYCL][CUDA] Set PI_CUDA_ENABLE_IMAGE_SUPPORT before running Image tests (intel#702)
This allows to run Image tests currently supported by the CUDA BE even if the Image support is disabled by default. This follows intel/llvm#5256
1 parent 6ee5f29 commit f45f44e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SYCL/lit.cfg.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,11 @@
328328
gpu_run_on_linux_substitute = "env SYCL_DEVICE_FILTER={SYCL_PLUGIN}:gpu,host ".format(SYCL_PLUGIN=config.sycl_be)
329329
gpu_check_on_linux_substitute = "| FileCheck %s"
330330

331+
<<<<<<< HEAD
331332
if config.sycl_be == "ext_oneapi_cuda":
333+
=======
334+
if config.sycl_be == "cuda":
335+
>>>>>>> 24faf9d67 ([SYCL][CUDA] Set PI_CUDA_ENABLE_IMAGE_SUPPORT before running Image tests (#702))
332336
gpu_run_substitute += "SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 "
333337

334338
else:

0 commit comments

Comments
 (0)