35#ifndef _BLAZE_MATH_FUNCTORS_DECLDIAG_H_
36#define _BLAZE_MATH_FUNCTORS_DECLDIAG_H_
68 template<
typename T >
71 return decldiag( std::forward<T>( a ) );
Macro for CUDA compatibility.
decltype(auto) decldiag(const DenseMatrix< MT, SO > &dm)
Declares the given dense matrix expression dm as diagonal.
Definition: DMatDeclDiagExpr.h:978
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Generic wrapper for the decldiag() function.
Definition: DeclDiag.h:61
System settings for the inline keywords.