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.

fill.cpp 379 B

1234567891011121314
  1. #include "megdnn/oprs.h"
  2. #include "src/common/utils.h"
  3. namespace megdnn {
  4. void Fill::check_exec(const TensorLayout& dst, size_t workspace_in_bytes) {
  5. megdnn_assert_contiguous(dst);
  6. auto required_workspace_in_bytes = get_workspace_in_bytes(dst);
  7. megdnn_assert(workspace_in_bytes >= required_workspace_in_bytes);
  8. }
  9. } // namespace megdnn
  10. // vim: syntax=cpp.doxygen