Skip to content
Open
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
3 changes: 3 additions & 0 deletions sycl/include/sycl/info/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,13 @@ struct __SYCL2020_DEPRECATED("deprecated in SYCL 2020, use "
};

// Extensions/deprecated
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
struct __SYCL_DEPRECATED("use sycl::aspect::atomic64 instead") atomic64
: device_traits<UR_DEVICE_INFO_ATOMIC_64> {
using return_type = bool;
};
#endif

struct reference_count : device_traits<UR_DEVICE_INFO_REFERENCE_COUNT> {
using return_type = uint32_t;
};
Expand Down
2 changes: 2 additions & 0 deletions sycl/source/detail/device_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,9 @@ class device_impl {
CASE(int64_extended_atomics) {
return has_extension("cl_khr_int64_extended_atomics");
}
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
CASE(atomic64) { return get_info<info::device::atomic64>(); }
#endif
CASE(image) { return get_info<info::device::image_support>(); }
CASE(online_compiler) {
return get_info<info::device::is_compiler_available>();
Expand Down
2 changes: 2 additions & 0 deletions sycl/source/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ __SYCL_DEVICE_INFO_INST(partition_affinity_domains,
__SYCL_DEVICE_INFO_INST(partition_type_property, info::partition_property)
__SYCL_DEVICE_INFO_INST(partition_type_affinity_domain,
info::partition_affinity_domain)
#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
__SYCL_DEVICE_INFO_INST(atomic64, bool)
#endif
__SYCL_DEVICE_INFO_INST(reference_count, uint32_t)
__SYCL_DEVICE_INFO_INST(usm_device_allocations, bool)
__SYCL_DEVICE_INFO_INST(usm_host_allocations, bool)
Expand Down