DeviceResident

class DeviceResident(val deviceId: String, val backendHandle: Any, val sizeInBytes: Long, val isMutable: Boolean) : BufferHandle(source)

Buffer managed by a compute backend (GPU, NPU, DSP, …). Access semantics depend on the backend.

Constructors

Link copied to clipboard
constructor(deviceId: String, backendHandle: Any, sizeInBytes: Long, isMutable: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val isMutable: Boolean

Whether this handle permits writing into the buffer.

Link copied to clipboard
open override val ownership: Ownership

Ownership classification for diagnostics.

Link copied to clipboard
open override val sizeInBytes: Long

Total size in bytes of the accessible region.