Skip to content

[SYCL][NFC] Silence some warnings in ESIMD E2E tests #11949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions sycl/test-e2e/ESIMD/lsc/atomic_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ const char *to_string(DWORDAtomicOp op) {
return "smin";
case DWORDAtomicOp::smax:
return "smax";
#ifndef USE_DWORD_ATOMICS
case DWORDAtomicOp::fmax:
return "fmax";
case DWORDAtomicOp::fmin:
Expand All @@ -119,7 +118,6 @@ const char *to_string(DWORDAtomicOp op) {
return "fadd";
case DWORDAtomicOp::fsub:
return "fsub";
#endif // !USE_DWORD_ATOMICS
case DWORDAtomicOp::fcmpxchg:
return "fcmpxchg";
case DWORDAtomicOp::load:
Expand Down
10 changes: 8 additions & 2 deletions sycl/test-e2e/ESIMD/lsc/local_accessor_atomic_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ const char *to_string(DWORDAtomicOp op) {
return "smin";
case DWORDAtomicOp::smax:
return "smax";
#ifndef USE_DWORD_ATOMICS
case DWORDAtomicOp::fmax:
return "fmax";
case DWORDAtomicOp::fmin:
return "fmin";
#endif // !USE_DWORD_ATOMICS
case DWORDAtomicOp::fadd:
return "fadd";
case DWORDAtomicOp::fsub:
return "fsub";
case DWORDAtomicOp::fcmpxchg:
return "fcmpxchg";
case DWORDAtomicOp::load:
Expand Down Expand Up @@ -125,6 +127,10 @@ const char *to_string(LSCAtomicOp op) {
return "lsc::fmax";
case LSCAtomicOp::fmin:
return "lsc::fmin";
case LSCAtomicOp::fadd:
return "lsc::fadd";
case LSCAtomicOp::fsub:
return "lsc::fsub";
case LSCAtomicOp::fcmpxchg:
return "lsc::fcmpxchg";
case LSCAtomicOp::load:
Expand Down