载入中...
搜索中...
未找到
OnnxStorage.h
浏览该文件的文档.
Move-only, checked operation results for the common layer.
Run-scoped device storage. Readback completes pending work on the device thread.
Definition OnnxStorage.h:9
virtual Result< std::vector< uint8_t > > readback() const =0
Return an owning host copy, or an explicit device/lifecycle error.
virtual ~OnnxDeviceStorage()=default
Release owning storage on the device thread.
Definition AffineQuant.cpp:9
Immutable buffer shared by graph aliases; exactly one storage is authoritative.
Definition OnnxStorage.h:19
std::shared_ptr< OnnxDeviceStorage > device
Definition OnnxStorage.h:21
std::shared_ptr< const std::vector< uint8_t > > host
Definition OnnxStorage.h:20
Actual transfers and submissions made during one GPU run.
Definition OnnxStorage.h:26
size_t compilerPeakWorkers
Definition OnnxStorage.h:31
size_t bufferAllocations
Definition OnnxStorage.h:30
size_t shaderCompilations
Definition OnnxStorage.h:27