type ArenaDescription struct {
Residency Residency
Device int32
Vendor GPUVendor
VendorOrdinal int32
HostAccess HostAccess
} Fields
Residency | Residency | Residency is ResidencyRam for host pages and ResidencyVram for one device's memory. |
|---|---|---|
Device | int32 | Device is the ordinal of the GPU holding the outputs, as GPUDevices lists it, or -1 for host pages. |
Vendor | GPUVendor | Vendor is the vendor whose memory it is, as GPUDevices reports it, GPUVendorUnknown for host pages. |
VendorOrdinal | int32 | VendorOrdinal is the vendor's own device number, which Arrow and DLPack name, or -1 for host pages. |
HostAccess | HostAccess | HostAccess is whether Go code may read the outputs, as it may host, pinned, managed and Apple's shared memory. |