Contents

class

SushiBLAS::Dispatch::ScalarBound

template <typename Fn, std::size_t N>

Holds an element functor with N scalar parameters not yet narrowed; it stays on the host.

Declared in
include/SushiBLAS/engine/math/elementwise/scalar_binding.hpp

See also

include/SushiBLAS/engine/math/README.md

Public member functions

ScalarBound(Fn fn, const std::array< ElementScalar, N > &scalars)

Stores the functor and the scalars as given.

template <typename T>
NarrowedOp< Fn, T, N > narrow() const

Returns the functor with every scalar narrowed to T.

Template parameters

T

sycl::half, float, double, int32_t or int64_t.