Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][ESIMD] Fix test failure on emulator #1552

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions SYCL/ESIMD/lsc/atomic_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,11 @@ int main(void) {

// Check load/store operations
passed &= test_int_types<8, ImplLoad>(q, cfg);
passed &= test_int_types<8, ImplStore>(q, cfg);
if (q.get_backend() != sycl::backend::ext_intel_esimd_emulator)
passed &= test_int_types<8, ImplStore>(q, cfg);
#ifndef USE_DWORD_ATOMICS
passed &= test<float, 8, ImplStore>(q, cfg);
if (q.get_backend() != sycl::backend::ext_intel_esimd_emulator)
passed &= test<float, 8, ImplStore>(q, cfg);
#endif // USE_DWORD_ATOMICS
// TODO: check double other vector lengths in LSC mode.

Expand Down