scirs2-core 0.4.3

Core utilities and common functionality for SciRS2 (scirs2-core)
Documentation
// Copyright (c) 2025, `SciRS2` Team
//
// Licensed under the Apache License, Version 2.0
// (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
//

//! GPU-accelerated array implementation for the array protocol.
//!
//! This module provides GPU-accelerated array implementations that work with
//! the array protocol. It supports multiple GPU backends (CUDA, ROCm, Metal,
//! WebGPU, OpenCL) and provides specialized operations for each.

mod cuda_operations;

pub use cuda_operations::*;

/// Initializes the GPU system for the array protocol.
#[allow(dead_code)]
pub fn init_gpu_system() {
    // Initialize CUDA operations
    cuda_operations::register_cuda_operations();

    // Other GPU backends would be initialized here
}