30 class Engine = caffe2::DefaultEngine>
35 Tc2LUTOp(
const caffe2::OperatorDef& operator_def, caffe2::Workspace* ws)
36 :
TcOp<T, Context, Engine>(operator_def, ws) {
37 this->
tc_ = tc::TC_2LUT;
38 this->
tcName_ = tc::TC_2LUT_NAME;
tc::MappingOptions mappingOptions_
Definition: tc_op.h:133
MappingOptions & mapToThreads(std::initializer_list< uint64_t > threads)
Definition: mapping_options-inl.h:273
MappingOptions & usePrivateMemory(bool b)
Definition: mapping_options-inl.h:331
MappingOptions & useSharedMemory(bool b)
Definition: mapping_options-inl.h:326
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
void setupNaiveMappingOptions() override
Definition: 2lut_op.h:44
MappingOptions & tile(const std::vector< uint64_t > &sizes)
Definition: mapping_options-inl.h:251
static constexpr auto description
Definition: 2lut_op.h:33
~Tc2LUTOp() override
Definition: 2lut_op.h:41
Tc2LUTOp(const caffe2::OperatorDef &operator_def, caffe2::Workspace *ws)
Definition: 2lut_op.h:35