MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / validate

Method validate

csrc/aio/py_lib/deepspeed_cpu_op.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void cpu_op_desc_t::validate()
68{
69 const auto num_io_bytes = static_cast<int64_t>(_contiguous_buffer.nbytes());
70 validate_aio_operation(_read_op, _filename.c_str(), data_ptr(), num_io_bytes);
71}
72
73void cpu_op_desc_t::run(const int tid,
74 std::unique_ptr<aio_context>& aio_ctxt,

Callers 1

_wait_lockedMethod · 0.45

Calls 1

validate_aio_operationFunction · 0.85

Tested by

no test coverage detected