driver: rename new_with_state -> new

This commit is contained in:
2022-07-28 01:59:11 -07:00
parent a6fb21d892
commit fe47eb09f8
7 changed files with 15 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ fn main() {
// the first parameter is the float type to use: f32 for unchecked math, coremem::real::R32
// to guard against NaN/Inf (useful for debugging).
// to run this on the gpu instead of the gpu, replace `CpuBackend` with `WgpuBackend`.
let mut driver = Driver::new_with_state(SpirvSim::<f32, Mat, spirv::CpuBackend>::new(
let mut driver = Driver::new(SpirvSim::<f32, Mat, spirv::CpuBackend>::new(
size, feature_size
));