numrs2 0.3.3

A Rust implementation inspired by NumPy for numerical computing (NumRS2)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! GPU Shader Modules
//!
//! This module provides access to the compiled WGSL shaders used for GPU operations.

// Re-export all shader files as constants for inclusion
#[allow(dead_code)]
pub const ELEMENT_WISE_F32: &str = include_str!("shaders/element_wise_f32.wgsl");
#[allow(dead_code)]
pub const ELEMENT_WISE_F64: &str = include_str!("shaders/element_wise_f64.wgsl");
#[allow(dead_code)]
pub const MATMUL_F32: &str = include_str!("shaders/matmul_f32.wgsl");
#[allow(dead_code)]
pub const MATMUL_F64: &str = include_str!("shaders/matmul_f64.wgsl");
#[allow(dead_code)]
pub const REDUCTION_F32: &str = include_str!("shaders/reduction_f32.wgsl");
#[allow(dead_code)]
pub const REDUCTION_F64: &str = include_str!("shaders/reduction_f64.wgsl");