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

[SYCL][L0] Fix has_aspect_atomic64 test and reenable it #1253

Merged
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
4 changes: 2 additions & 2 deletions SYCL/AtomicRef/device_has_aspect_atomic64_level_zero.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// REQUIRES: level_zero, level_zero_dev_kit, TEMPORARY_DISABLED
// REQUIRES: level_zero, level_zero_dev_kit
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out %level_zero_options
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand All @@ -11,7 +11,7 @@ int main() {
queue Queue;
device Dev = Queue.get_device();
bool Result;
ze_device_module_properties_t Properties;
ze_device_module_properties_t Properties{};
zeDeviceGetModuleProperties(get_native<backend::ext_oneapi_level_zero>(Dev),
&Properties);
if (Properties.flags & ZE_DEVICE_MODULE_FLAG_INT64_ATOMICS)
Expand Down