#include <sycl/ext/oneapi/experimental/device_architecture.hpp>
Public Member Functions | |
template<architecture... Archs, typename T , typename = std::enable_if<std::is_invocable_v<T>>> | |
auto | else_if_architecture_is (T fn) |
template<typename T > | |
void | otherwise (T fn) |
Definition at line 1033 of file device_architecture.hpp.
|
inline |
Definition at line 1037 of file device_architecture.hpp.
References sycl::_V1::ext::oneapi::experimental::detail::call_if_on_device_conditionally_helper().
|
inline |
Definition at line 1050 of file device_architecture.hpp.
References sycl::_V1::ext::oneapi::experimental::detail::call_if_on_device_conditionally_helper().