dpctl.SyclPlatform.has_aspect_atomic64

SyclPlatform.has_aspect_atomic64

Returns True if all devices of this platform (if any) support a basic set of atomic operations, False otherwise.

Indicates that the devices support the following atomic operations on 64-bit values:

  • sycl::atomic_ref::load

  • sycl::atomic_ref::store

  • sycl::atomic_ref::fetch_add

  • sycl::atomic_ref::fetch_sub

  • sycl::atomic_ref::exchange

  • sycl::atomic_ref::compare_exchange_strong

  • sycl::atomic_ref::compare_exchange_weak

Returns:

Indicates that all devices of the platform support a basic set of atomic operations on 64-bit values.

Return type:

bool