Contents

class

SushiBLAS::Internal::BlasMetadata

Builds the TaskMetadata of one BLAS task: scalars first, then flags.

Declared in
include/SushiBLAS/engine/blas/task_metadata.hpp

See also

include/SushiBLAS/engine/blas/README.md

Public member functions

BlasMetadata(const char *name, SushiRuntime::Graph::OpID op_id) noexcept

Names the task and its operation.

Parameters

name

Must outlive the recorded task; a string literal does.

BlasMetadata & scalar(const BlasScalar &value) noexcept

Appends a scalar as two slots: its real part, then its imaginary part.

template <typename Flag>
BlasMetadata & flag(Flag value) noexcept

Appends a flag as one slot holding its numeric value.

Template parameters

Flag

Core::Transpose, Core::Uplo, Core::Diag or Core::Side.

const SushiRuntime::Graph::TaskMetadata & get() const noexcept

Returns the metadata built so far.