XeTLA v0.3.6
IntelĀ® Xe Templates for Linear Algebra - API Definition Document
 
Loading...
Searching...
No Matches
gpu::xetla::is_floating_point< T > Struct Template Reference

Used to check if the type is floating_point. More...

#include <base_types.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct gpu::xetla::is_floating_point< T >

Used to check if the type is floating_point.

Template Parameters
Tis the data type

Member Data Documentation

◆ value

template<typename T >
constexpr bool gpu::xetla::is_floating_point< T >::value
staticconstexpr
Initial value:
= std::is_same<remove_const_t<T>, bf16>::value
|| std::is_same<remove_const_t<T>, fp16>::value
|| std::is_same<remove_const_t<T>, tf32>::value
|| std::is_same<remove_const_t<T>, float>::value
|| std::is_same<remove_const_t<T>, double>::value
sycl::half fp16
xetla fp16 data type.
Definition base_types.hpp:43
sycl::ext::intel::experimental::esimd::tfloat32 tf32
xetla tf32 data type.
Definition base_types.hpp:56
sycl::ext::oneapi::bfloat16 bf16
xetla bf16 data type.
Definition base_types.hpp:40
static constexpr bool value
Definition base_types.hpp:76