MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / SyncReadSmallMem

Function SyncReadSmallMem

oneflow/core/framework/instructions_builder.cpp:831–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829
830template<typename T>
831Maybe<void> SyncReadSmallMem(char* mem_ptr, size_t bytes, const T tensor) {
832 return SyncAccessSmallMem<T, vm::SyncReadInstructionPolicy>(mem_ptr, bytes, tensor);
833}
834
835template Maybe<void> SyncReadSmallMem(char* mem_ptr, size_t bytes,
836 const std::shared_ptr<one::LocalTensor> tensor);

Callers 1

GetItemInScalarTensorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected