Class DeviceAbstract

Hierarchy

  • Device

Constructors

Properties

_heapEnabled: boolean = false
_heapFinalizers: FinalizationRegistry<HeapBuffer<ArrayBuffer | GPUBuffer>>
_heaps: BufferHeap<ArrayBuffer | GPUBuffer>[] = []
_id: string
_kernels: {
    [key: KernelKey]: Kernel;
} = {}

Type declaration

_type: DeviceType

Accessors

  • get workgroupMaxCount(): number
  • Returns number

  • get workgroupMaxSize(): [number, number, number]
  • Returns [number, number, number]

Methods

  • Returns BufferHeap<ArrayBuffer | GPUBuffer>

Generated using TypeDoc