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