DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::if_architecture_helper< MakeCall > Class Template Reference

#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)
 

Detailed Description

template<bool MakeCall>
class sycl::_V1::detail::if_architecture_helper< MakeCall >

Definition at line 879 of file device_architecture.hpp.

Member Function Documentation

◆ else_if_architecture_is() [1/2]

template<bool MakeCall>
template<ext::oneapi::experimental::architecture... Archs, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is ( fn)
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.

Template Parameters
Archsparameter pack.

Definition at line 886 of file device_architecture.hpp.

◆ else_if_architecture_is() [2/2]

template<bool MakeCall>
template<ext::oneapi::experimental::arch_category... Categories, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is ( fn)
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.

Template Parameters
Categoriespack.

Definition at line 901 of file device_architecture.hpp.

◆ else_if_architecture_is_between()

template<bool MakeCall>
template<ext::oneapi::experimental::architecture Arch1, ext::oneapi::experimental::architecture Arch2, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is_between ( fn)
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.

Template Parameters
Arch1and is greater than or equal to
Arch1and is less than or equal to
Arch2.

Definition at line 989 of file device_architecture.hpp.

References sycl::_V1::detail::device_arch_compare_op_ge, and sycl::_V1::detail::device_arch_compare_op_le.

◆ else_if_architecture_is_ge()

template<bool MakeCall>
template<ext::oneapi::experimental::architecture Arch, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is_ge ( fn)
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.

Template Parameters
Archand compares greater than or equal to
Arch.

Definition at line 970 of file device_architecture.hpp.

References sycl::_V1::detail::device_arch_compare_op_ge.

◆ else_if_architecture_is_gt()

template<bool MakeCall>
template<ext::oneapi::experimental::architecture Arch, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is_gt ( fn)
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.

Template Parameters
Archand compares greater than
Arch.

Definition at line 952 of file device_architecture.hpp.

References sycl::_V1::detail::device_arch_compare_op_gt.

◆ else_if_architecture_is_le()

template<bool MakeCall>
template<ext::oneapi::experimental::architecture Arch, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is_le ( fn)
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.

Template Parameters
Archand compares less than or equal to
Arch.

Definition at line 935 of file device_architecture.hpp.

References sycl::_V1::detail::device_arch_compare_op_le.

◆ else_if_architecture_is_lt()

template<bool MakeCall>
template<ext::oneapi::experimental::architecture Arch, typename T >
constexpr auto sycl::_V1::detail::if_architecture_helper< MakeCall >::else_if_architecture_is_lt ( fn)
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.

Template Parameters
Archand compares less than
Arch.

Definition at line 917 of file device_architecture.hpp.

References sycl::_V1::detail::device_arch_compare_op_lt.

◆ otherwise()

template<bool MakeCall>
template<typename T >
constexpr void sycl::_V1::detail::if_architecture_helper< MakeCall >::otherwise ( fn)
inlineconstexpr

Definition at line 1003 of file device_architecture.hpp.


The documentation for this class was generated from the following file: