Skip to main content
Log in

Mojo module

device_context

Structs

  • DeviceBuffer: Represents a block of device-resident storage. For GPU devices, a device buffer is allocated in the device's global memory.
  • DeviceContext: Represents a single accelerator (GPU), and provides methods for allocating buffers on the device, copying data between host and device, and for compiling and running functions (also known as kernels) on the device.
  • DeviceFunction: Represents a compiled device function.