khal-std 0.1.1

GPU standard library for khal compute shaders, with cross-platform primitives compiling to SPIR-V, CUDA PTX, and CPU targets.
Documentation
1
2
3
4
5
6
7
8
//! Architecture-specific runtime support modules.

/// CPU runtime: coroutine-based cooperative scheduling and parallel dispatch.
#[cfg(feature = "cpu")]
pub mod cpu;
/// CUDA intrinsics for thread and block indexing.
#[cfg(target_arch = "nvptx64")]
pub mod cuda;