Libraries.Compute.Hardware

3 classes

  • The HardwareCompute class runs a program on the graphics card (a compute shader) over a block of numbers, whatever the graphics system underneath: Libraries.Compute.Hardware.Vulkan.VulkanCompute today, and WebGPU later for the web.
  • The HardwareComputeDevice class is a graphics card that can run compute programs, whatever the graphics system underneath (Vulkan today, WebGPU on the web later).
  • The HardwareComputeLimits class holds what a compute device allows, in terms that don't depend on the graphics system: how large a work group may be, how many work groups one run may have, how much shared memory a work group may use, how large a block of data may be, and whether the device has 64-bit numbers and 64-bit integers.