Skip to content

Commit

Permalink
Remove set_arg_local_buffer generic parameter for issue #35
Browse files Browse the repository at this point in the history
  • Loading branch information
kenba committed Sep 13, 2021
1 parent 9a6e64c commit 235aff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ impl<'a> ExecuteKernel<'a> {
/// * `size` - the size of the local memory buffer in bytes.
///
/// returns a reference to self.
pub fn set_arg_local_buffer<T>(&mut self, size: size_t) -> &mut Self {
pub fn set_arg_local_buffer(&mut self, size: size_t) -> &mut Self {
assert!(
self.arg_index < self.num_args,
"ExecuteKernel::set_arg_local_buffer too many args"
Expand Down

0 comments on commit 235aff7

Please sign in to comment.