Skip to content

Commit

Permalink
[SYCL][ESIMD] Pass -vc-codegen instead of -cmc option to backend comp…
Browse files Browse the repository at this point in the history
…iler (intel#34)
  • Loading branch information
DenisBakhvalov authored Oct 16, 2020
1 parent 1267150 commit a750778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SYCL/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
# ESIMD-specific setup. Requires OpenCL for now.
if "opencl" in config.available_features:
print(config.available_features)
esimd_run_substitute = " env SYCL_BE=PI_OPENCL SYCL_DEVICE_TYPE=GPU SYCL_PROGRAM_COMPILE_OPTIONS=-cmc"
esimd_run_substitute = " env SYCL_BE=PI_OPENCL SYCL_DEVICE_TYPE=GPU SYCL_PROGRAM_COMPILE_OPTIONS=-vc-codegen"
config.substitutions.append( ('%ESIMD_RUN_PLACEHOLDER', esimd_run_substitute) )
config.substitutions.append( ('%clangxx-esimd', config.dpcpp_compiler +
' ' + '-fsycl-explicit-simd' + ' ' +
Expand Down

0 comments on commit a750778

Please sign in to comment.