numr 0.11.0

High-performance numerical computing with multi-backend GPU acceleration (CPU/CUDA/WebGPU)
Documentation
1
2
3
4
5
6
7
8
9
10
//! Shared test helpers for WebGPU linalg unit tests.
#![cfg(test)]

use super::super::{WgpuClient, WgpuDevice, WgpuRuntime};
use crate::runtime::Runtime;

pub(super) fn create_client() -> WgpuClient {
    let device = WgpuDevice::new(0);
    WgpuRuntime::default_client(&device)
}