dpctl.SyclDevice.has_aspect_atomic64¶
- SyclDevice.has_aspect_atomic64¶
Returns
Trueif the device supports a basic set of atomic operations,Falseotherwise.Indicates that the device supports the following atomic operations on 64-bit values:
sycl::atomic_ref::loadsycl::atomic_ref::storesycl::atomic_ref::fetch_addsycl::atomic_ref::fetch_subsycl::atomic_ref::exchangesycl::atomic_ref::compare_exchange_strongsycl::atomic_ref::compare_exchange_weak
- Example:
>>> import dpctl >>> dev = dpctl.select_cpu_device() >>> dev.has_aspect_atomic64 True
- Returns:
Indicates that the device supports a basic set of atomic operations on 64-bit values.
- Return type: