35#ifndef _BLAZE_MATH_FUNCTORS_CLEAR_H_
36#define _BLAZE_MATH_FUNCTORS_CLEAR_H_
68 template<
typename T >
Macro for CUDA compatibility.
BLAZE_ALWAYS_INLINE constexpr void clear(T &clearable)
Clearing the given value/object to the default state.
Definition: Clear.h:69
#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
Header file for the clear shim.
Generic wrapper for the clear() function.
Definition: Clear.h:61
BLAZE_ALWAYS_INLINE BLAZE_DEVICE_CALLABLE void operator()(T &a) const
Returns the result of the clear() function for the given object/value.
Definition: Clear.h:69
System settings for the inline keywords.