Enum TensorRtGpuAllocatorCallbackKind
- Namespace
- JYPPX.TensorRtSharp
- Assembly
- JYPPX.TensorRtSharp.dll
Identifies an IGpuAllocator callback operation. 标识 IGpuAllocator 回调操作。
public enum TensorRtGpuAllocatorCallbackKind
Fields
Allocate = 1Synchronous allocation. 同步分配。
AllocateAsync = 4Stream-aware allocation request. 带 CUDA stream 的分配请求。
Deallocate = 3Synchronous release. 同步释放。
DeallocateAsync = 5Stream-aware release request. 带 CUDA stream 的释放请求。
Reallocate = 2Reallocation of owner-managed memory. 重分配 owner 管理的显存。
Unknown = 0No recognized operation. 未识别操作。