#include <contrib/Eigen/src/GPU/type_traits.h>
template<typename T>
struct Eigen::gpu::internal::is_scaled_leaf< T >
Detects a Scaled directly over a leaf DeviceMatrix (no view in between).
- Template Parameters
-
- Note
- Defers to is_device_matrix on the scaled operand rather than restating the nested pattern, so it tracks whatever is_device_matrix accepts.
-
The operand is deduced from the template-id, not read from Scaled::Inner: naming a member would instantiate Scaled, and Scaled<GemmExpr<...>>::Scalar is ill-formed because GemmExpr has no device_expr_traits specialization. Matching the template-id keeps this predicate usable on any Scaled, complete or not.
-
Such a node arriving as a donation (owned rvalue) is materialized by stealing the leaf and applying the scalar in place (scal) instead of a geam into a fresh buffer.
The documentation for this struct was generated from the following file: