You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# .---command stderr------------
# | terminate called after throwing an instance of 'sycl::_V1::compile_program_error'
# | what(): The program was built for 1 devices
# | Build program log for 'Intel(R) FPGA Emulation Device':
# | Compilation started
# | Unsupported SPIR-V module
# | int 64bit atomics are not supported on FPGA emulator.
# | Compilation failed
# | -11 (PI_ERROR_BUILD_PROGRAM_FAILURE)
# `-----------------------------
# error: command failed with exit status: -6
The issue is avoided by adding per_kernel split to the tests (-fsycl-device-code-split=per_kernel), which indicates that kernels using atomic64 are not being split into a separate module.
#12673 enabled tests for the opencl:fpga backend, which don't support 64bit atomics.
The following tests,
syclcompat/atomic/atomic_arith.cpp
syclcompat/atomic/atomic_comp_exchange.cpp
failed with the following output:
The issue is avoided by adding
per_kernel
split to the tests (-fsycl-device-code-split=per_kernel
), which indicates that kernels using atomic64 are not being split into a separate module.According to #12673 (comment), adding the flag shouldn't be necessary.
#12673 (comment) provides additional context.
To Reproduce
Run
syclcompat/atomic/atomic_arith.cpp
orsyclcompat/atomic/atomic_comp_exchange.cpp
sycl-e2e tests using theopencl:fpga
oropencl:acc
backends.Environment:
The text was updated successfully, but these errors were encountered: