Argon 0.1.0
Loading...
Searching...
No Matches
argon::lane_scalar Concept Reference

A scalar type a vector lane can hold: an arithmetic type, or float16_t where half-float vectors exist. More...

#include <lane_scalar.hpp>

Concept definition

template<typename T>
concept lane_scalar = std::is_arithmetic_v<T> || is_half_float_v<T>
A scalar type a vector lane can hold: an arithmetic type, or float16_t where half-float vectors exist...
Definition lane_scalar.hpp:31
constexpr bool is_half_float_v
Whether T is the half-precision lane type, float16_t (__fp16), on a platform with half-float vectors.
Definition lane_scalar.hpp:22

Detailed Description

A scalar type a vector lane can hold: an arithmetic type, or float16_t where half-float vectors exist.