Skip to main content

Module device

Module device 

Source
Expand description

Device and backend abstraction layer

This module provides a unified interface for different compute backends including CPU, and Vulkan compute shaders.

Modules§

async_executor
Asynchronous GPU Execution System
cpu
Highly optimized CPU backend implementation
gpu
Real Vulkan GPU compute backend implementation
kernel_fusion
Kernel Fusion System for GPU Operations
memory_pool
GPU Memory Pool for efficient memory management
utils
Utility functions for device detection and benchmarking

Structs§

Device
Unified device abstraction
DeviceInfo
Device information and capabilities

Enums§

DeviceType
Available device types

Traits§

Backend
Backend trait for different compute devices
DeviceMemory
Device memory abstraction
Kernel
Kernel/compute shader abstraction

Functions§

clear_default_device
Clear the thread-local default device
set_default_device
Set the thread-local default device