Skip to content

Commit

Permalink
Skip zero initialization of workgroup memory if possible (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBrussee authored Sep 17, 2024
1 parent c11e1d6 commit a090a47
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/cubecl-wgpu/src/compute/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ where
layout: None,
module: &module,
entry_point: "main",
compilation_options: Default::default(),
compilation_options: wgpu::PipelineCompilationOptions {
zero_initialize_workgroup_memory: false,
..Default::default()
},
cache: None,
}),
)
Expand Down

0 comments on commit a090a47

Please sign in to comment.