quic-sanirudh commented on code in PR #13256: URL: https://github.com/apache/tvm/pull/13256#discussion_r1034828402
########## src/runtime/hexagon/ops/conv2d.h: ########## @@ -133,7 +155,48 @@ inline uintptr_t hwio_at(const DLTensor& f, int y, int x, int i, int o) { * @param width * @param depth */ -void blockize_hwc_16b(void* out, void* inp_flat, int height, int width, int depth); +template <typename T, int block_height, int block_width, int block_depth> +void blockize_hwc(void* out, void* inp_flat, int height, int width, int depth) { Review Comment: I agree with both, I'll add the asserts and the `const void*` for the arguments, thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org