Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
2.97k stars 112 forks source link

Allow usage of const sized arrays #104

Open 28Smiles opened 1 year ago

28Smiles commented 1 year ago

Currently the kernel macro disallowes the usage of something like [f32; 3] as a type, imo it should be allowed, since it can easily implement copy if the array value implements copy, hence it can be part of the method signature.