You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

opr_impl.h 718 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "megdnn/oprs.h"
  3. namespace megdnn {
  4. namespace rocm {
  5. class ParamPackConcatImpl final : public ParamPackConcat {
  6. public:
  7. using ParamPackConcat::ParamPackConcat;
  8. void exec(
  9. _megdnn_tensor_in srcs, _megdnn_tensor_in table, _megdnn_tensor_out dst,
  10. _megdnn_workspace workspace) override;
  11. size_t get_workspace_in_bytes(
  12. const TensorShape& srcs, const TensorShape& table,
  13. const TensorShape& dst) override;
  14. private:
  15. template <typename T>
  16. void exec_internal(
  17. _megdnn_tensor_in srcs, _megdnn_tensor_in table, _megdnn_tensor_out dst,
  18. _megdnn_workspace workspace);
  19. };
  20. } // namespace rocm
  21. } // namespace megdnn