Table of Contents

Enum TensorRtGpuAllocatorCallbackKind

Namespace
JYPPX.TensorRtSharp
Assembly
JYPPX.TensorRtSharp.dll

Identifies an IGpuAllocator callback operation. 标识 IGpuAllocator 回调操作。

public enum TensorRtGpuAllocatorCallbackKind

Fields

Allocate = 1

Synchronous allocation. 同步分配。

AllocateAsync = 4

Stream-aware allocation request. 带 CUDA stream 的分配请求。

Deallocate = 3

Synchronous release. 同步释放。

DeallocateAsync = 5

Stream-aware release request. 带 CUDA stream 的释放请求。

Reallocate = 2

Reallocation of owner-managed memory. 重分配 owner 管理的显存。

Unknown = 0

No recognized operation. 未识别操作。