Mojo package
host
Implements the gpu host package.
Modules
- compile: Implements CUDA compilation operations.
- constant_memory_mapping: This module provides functionality for mapping constant memory between host and device.
- device_attribute: This module defines GPU device attributes that can be queried from CUDA-compatible devices.
- device_context: This module provides functionality for interacting with accelerators. In particular theDeviceContextstruct, which represents a single stream of execution on a given accelerator. You can use this struct to allocate accelerator memory, copy data to and from the accelerator, and compile and execute functions on the accelerator.
- dim: This module implements the dim type.
- func_attribute: GPU Kernel Function Attributes Module
- info: Contains information about GPU architectures and their capabilities.
- launch_attribute: GPU Launch Attributes for Kernel Execution Control
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
