Skip to content

Commit 8c667b6

Browse files
[SYCL][ESIMD] Pass -vc-codegen instead of -cmc option to backend compiler (#2642)
1 parent 72e2597 commit 8c667b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def getDeviceCount(device_type):
169169
gpu_run_on_linux_substitute = "env SYCL_DEVICE_TYPE=GPU SYCL_BE={SYCL_BE} ".format(SYCL_BE=backend)
170170
gpu_check_on_linux_substitute = "| FileCheck %s"
171171
# ESIMD-specific setup. Requires OpenCL for now.
172-
esimd_run_substitute = " env SYCL_BE=PI_OPENCL SYCL_DEVICE_TYPE=GPU SYCL_PROGRAM_COMPILE_OPTIONS=-cmc"
172+
esimd_run_substitute = " env SYCL_BE=PI_OPENCL SYCL_DEVICE_TYPE=GPU SYCL_PROGRAM_COMPILE_OPTIONS=-vc-codegen"
173173
config.substitutions.append( ('%ESIMD_RUN_PLACEHOLDER', esimd_run_substitute) )
174174
config.substitutions.append( ('%clangxx-esimd', "clang++ -fsycl-explicit-simd" ) )
175175
else:

0 commit comments

Comments
 (0)