ann-search-rs 0.2.12

Various vector search algorithms in Rust. Designed specifically for single cell & computational biology applications.
Documentation
1
2
3
4
5
6
7
8
9
//! General trait implementations for the cubeCL backend to simplify this

use cubecl::frontend::{CubePrimitive, Float};
use cubecl::CubeElement;

/// Trait for GPU-accelerated operations in ann-search-rs
pub trait AnnSearchGpuFloat: Float + CubePrimitive + CubeElement {}

impl<T> AnnSearchGpuFloat for T where T: Float + CubePrimitive + CubeElement {}