Blaze 3.9
Public Member Functions | Static Public Member Functions | List of all members
blaze::Ceil Struct Reference

Generic wrapper for the ceil() function. More...

#include <Ceil.h>

Public Member Functions

template<typename T >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) operator() (T &&a) const
 Returns the result of the ceil() function for the given object/value. More...
 
template<typename T >
BLAZE_ALWAYS_INLINE decltype(auto) load (const T &a) const
 Returns the result of the ceil() function for the given SIMD vector. More...
 

Static Public Member Functions

template<typename T >
static constexpr bool simdEnabled ()
 Returns whether SIMD is enabled for the specified data type T. More...
 
static constexpr bool paddingEnabled ()
 Returns whether the operation supports padding, i.e. whether it can deal with zeros. More...
 

Detailed Description

Generic wrapper for the ceil() function.

Member Function Documentation

◆ load()

template<typename T >
BLAZE_ALWAYS_INLINE decltype(auto) blaze::Ceil::load ( const T &  a) const
inline

Returns the result of the ceil() function for the given SIMD vector.

Parameters
aThe given SIMD vector.
Returns
The result of the ceil() function for the given SIMD vector.

◆ operator()()

template<typename T >
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE decltype(auto) blaze::Ceil::operator() ( T &&  a) const
inline

Returns the result of the ceil() function for the given object/value.

Parameters
aThe given object/value.
Returns
The result of the ceil() function for the given object/value.

◆ paddingEnabled()

static constexpr bool blaze::Ceil::paddingEnabled ( )
inlinestaticconstexpr

Returns whether the operation supports padding, i.e. whether it can deal with zeros.

Returns
true in case padding is supported, false if not.

◆ simdEnabled()

template<typename T >
static constexpr bool blaze::Ceil::simdEnabled ( )
inlinestaticconstexpr

Returns whether SIMD is enabled for the specified data type T.

Returns
true in case SIMD is enabled for the data type T, false if not.

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