This repository was ispired by awesome Tutorial: OpenCL SGEMM tuning for Kepler.
examples/simple.rs
contains spagetti-code ofmatmul
with performance mesuarement.examples/linear.rs
contains a usage of "Tensor" multiplication, whereTensor
is just a container fordata: Vec<f32>
anddim: [usize;2]
which helps to build a wgpuBuffer