@@ -78,18 +78,6 @@ class CompilerGenericInterface {
7878 return MLI_STATUS_OK;
7979 }
8080
81- /* *
82- * @brief this function will return the vectorization in the input channel
83- * dimension that is used by the platform.
84- */
85- virtual unsigned GetInputChannelMultiple () { return 1 ; };
86-
87- /* *
88- * @brief this function will return the vectorization in the output channel
89- * dimension that is used by the platform.
90- */
91- virtual unsigned GetOutputChannelMultiple () { return 1 ; };
92-
9381// TODO add virtual destructor
9482protected:
9583 bool m_issue_enable{false };
@@ -314,31 +302,6 @@ class Conv2d_CS : public CompilerGenericInterface {
314302 NOT_IMPLEMENTED_METHOD;
315303 return MLI_STATUS_OK; };
316304
317- /* *
318- * @brief Method to set iteration information used in the .Update()
319- *
320- * NOTE: the use of this method is optional. if there is a single tile, and the .Update() is not used,
321- * this data doesn't need to be set.
322- * All the increments are following the output tile iterator.
323- * @deprecated
324- * Be carefull - don't use this method with new Conv2d_CS ctors - only with deprecated ctor that takes tensors
325- *
326- * @param output_total_size[4] [I] total size in each dimension
327- * @param iteration_order[4] [I] which dimension of the output to iterate first.
328- * @param input_first_inc[4] [I] increment of the input buffer pointer for the first iteration in each dimension
329- * @param input_inc[4] [I] increment of the input buffer pointer for the other iterations in each dimension
330- * @param output_first_inc[4] [I] increment of the output buffer pointer for the first iteration in each dimension
331- * @param output_inc[4] [I] increment of the output buffer pointer for the other iterations in each dimension
332- * @param weights_inc[4] [I] increment of the weights buffer pointer for the other iterations in each dimension of the output iterator
333- */
334- virtual mli_status SetIterators (uint32_t output_total_size[4 ],
335- uint32_t iteration_order[4 ],
336- uint32_t input_first_inc[4 ],
337- uint32_t input_inc[4 ],
338- uint32_t output_first_inc[4 ],
339- uint32_t output_inc[4 ],
340- uint32_t weights_inc[4 ]) = 0;
341-
342305};
343306
344307/* *
@@ -410,8 +373,8 @@ class Prelu_CS : public CompilerGenericInterface {
410373 * the weights buffer passed to the encode_weights function is in compiler memoryspace because the
411374 * encode function will write the encoded weights data there.
412375 */
413- virtual mli_status AttachBufferOffsets (Tensor<OffsetBuffer, kPreluRank > &input,
414- Tensor<OffsetBuffer, kPreluRank > &output,
376+ virtual mli_status AttachBufferOffsets (Tensor<OffsetBuffer, 4 > &input,
377+ Tensor<OffsetBuffer, 4 > &output,
415378 OffsetBuffer ¶ms,
416379 OffsetBuffer &ctrl_buffer) { return MLI_STATUS_OK; }
417380
@@ -434,26 +397,6 @@ class Prelu_CS : public CompilerGenericInterface {
434397 const OffsetBuffer ¶ms,
435398 const OffsetBuffer &ctrl_buffer) { return MLI_STATUS_OK; }
436399
437- /* *
438- * @brief Method to set iteration information used in the .Update()
439- * @deprecated
440- *
441- * NOTE: the use of this method is optional. if there is a single tile, and the .Update() is not used,
442- * this data doesn't need to be set.
443- * All the increments are following the output tile iterator.
444- * @param output_total_size[4] [I] total size in each dimension
445- * @param iteration_order[4] [I] which dimension of the output to iterate first.
446- * @param input_first_inc[4] [I] increment of the input buffer pointer for the first iteration in each dimension
447- * @param input_inc[4] [I] increment of the input buffer pointer for the other iterations in each dimension
448- * @param output_first_inc[4] [I] increment of the output buffer pointer for the first iteration in each dimension
449- * @param output_inc[4] [I] increment of the output buffer pointer for the other iterations in each dimension
450- */
451- virtual mli_status SetIterators (uint32_t output_total_size[4 ],
452- uint32_t iteration_order[4 ],
453- uint32_t input_first_inc[4 ],
454- uint32_t input_inc[4 ],
455- uint32_t output_first_inc[4 ],
456- uint32_t output_inc[4 ]) { return MLI_STATUS_OK; }
457400};
458401
459402
@@ -959,24 +902,6 @@ class Clip_CS : public CompilerGenericInterface {
959902 const OffsetBuffer& encoded_params,
960903 const OffsetBuffer& descr) = 0;
961904
962- /* *
963- * @brief Method to set iteration information used in the .Update()
964- *
965- * NOTE: the use of this method is optional. if there is a single tile, and the .Update() is not used,
966- * this data doesn't need to be set.
967- * All the increments are following the output tile iterator.
968- *
969- * @deprecated
970- * @param output_total_size[4] [I] total size in each dimension
971- * @param iteration_order[4] [I] which dimension of the output to iterate first.
972- * @param output_first_inc[4] [I] increment of the output buffer pointer for the first iteration in each dimension
973- * @param output_inc[4] [I] increment of the output buffer pointer for the other iterations in each dimension
974- */
975- virtual mli_status SetIterators (uint32_t output_total_size[kClipIterRank ],
976- uint32_t iteration_order[kClipIterRank ],
977- uint32_t output_first_inc[kClipIterRank ],
978- uint32_t output_inc[kClipIterRank ]) = 0;
979-
980905};
981906
982907/* *
0 commit comments