#include <sycl/ext/oneapi/experimental/device_architecture.hpp>
Public Member Functions | |
template<ext::oneapi::experimental::architecture... Archs, typename T > | |
constexpr auto | else_if_architecture_is (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is function has any one of the architectures listed in the. More... | |
template<ext::oneapi::experimental::arch_category... Categories, typename T > | |
constexpr auto | else_if_architecture_is (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is function has an architecture that is in any one of the categories listed in the. More... | |
template<ext::oneapi::experimental::architecture Arch, typename T > | |
constexpr auto | else_if_architecture_is_lt (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is_lt function has an architecture that is in the same family as. More... | |
template<ext::oneapi::experimental::architecture Arch, typename T > | |
constexpr auto | else_if_architecture_is_le (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is_le function has an architecture that is in the same family as. More... | |
template<ext::oneapi::experimental::architecture Arch, typename T > | |
constexpr auto | else_if_architecture_is_gt (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is_gt function has an architecture that is in the same family as. More... | |
template<ext::oneapi::experimental::architecture Arch, typename T > | |
constexpr auto | else_if_architecture_is_ge (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is_ge function has an architecture that is in the same family as. More... | |
template<ext::oneapi::experimental::architecture Arch1, ext::oneapi::experimental::architecture Arch2, typename T > | |
constexpr auto | else_if_architecture_is_between (T fn) |
The condition is true only if the object F comes from a previous call whose associated condition is false and if the device which executes the else_if_architecture_is_between function has an architecture that is in the same family as. More... | |
template<typename T > | |
constexpr void | otherwise (T fn) |
Definition at line 778 of file device_architecture.hpp.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is
function has any one of the architectures listed in the.
Archs | parameter pack. |
Definition at line 785 of file device_architecture.hpp.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is
function has an architecture that is in any one of the categories listed in the.
Categories | pack. |
Definition at line 800 of file device_architecture.hpp.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is_between
function has an architecture that is in the same family as.
Arch1 | and is greater than or equal to |
Arch1 | and is less than or equal to |
Arch2. |
Definition at line 888 of file device_architecture.hpp.
References sycl::_V1::detail::device_arch_compare_op_ge, and sycl::_V1::detail::device_arch_compare_op_le.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is_ge
function has an architecture that is in the same family as.
Arch | and compares greater than or equal to |
Arch. |
Definition at line 869 of file device_architecture.hpp.
References sycl::_V1::detail::device_arch_compare_op_ge.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is_gt
function has an architecture that is in the same family as.
Arch | and compares greater than |
Arch. |
Definition at line 851 of file device_architecture.hpp.
References sycl::_V1::detail::device_arch_compare_op_gt.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is_le
function has an architecture that is in the same family as.
Arch | and compares less than or equal to |
Arch. |
Definition at line 834 of file device_architecture.hpp.
References sycl::_V1::detail::device_arch_compare_op_le.
|
inlineconstexpr |
The condition is true
only if the object F comes from a previous call whose associated condition is false
and if the device which executes the else_if_architecture_is_lt
function has an architecture that is in the same family as.
Arch | and compares less than |
Arch. |
Definition at line 816 of file device_architecture.hpp.
References sycl::_V1::detail::device_arch_compare_op_lt.
|
inlineconstexpr |
Definition at line 902 of file device_architecture.hpp.