26 template <
typename T,
class Context,
class Engine = caffe2::DefaultEngine>
31 TcMatMulOp(
const caffe2::OperatorDef& operator_def, caffe2::Workspace* ws)
32 :
TcOp<T, Context, Engine>(operator_def, ws) {
33 bool trans_a = OperatorBase::GetSingleArgument<int>(
"trans_a", 0);
34 bool trans_b = OperatorBase::GetSingleArgument<int>(
"trans_b", 0);
36 this->
tcName_ = tc::TC_MATMUL_NAME;
tc::MappingOptions mappingOptions_
Definition: tc_op.h:133
Definition: matmul_op.h:27
static constexpr auto description
Definition: matmul_op.h:29
MappingOptions & unroll(uint64_t size)
Definition: mapping_options-inl.h:321
~TcMatMulOp() override
Definition: matmul_op.h:39
TcMatMulOp(const caffe2::OperatorDef &operator_def, caffe2::Workspace *ws)
Definition: matmul_op.h:31
MappingOptions & mapToBlocks(std::initializer_list< uint64_t > blocks)
Definition: mapping_options-inl.h:297
std::string tc_
Definition: tc_op.h:128
std::string tcName_
Definition: tc_op.h:130
std::string makeMatmulTc(bool transposeFirst=false, bool transposeSecond=false)
Definition: matmul.h:32
MappingOptions & tile(const std::vector< uint64_t > &sizes)
Definition: mapping_options-inl.h:251
void setupNaiveMappingOptions() override
Definition: matmul_op.h:42