Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
entropylost committed Sep 23, 2023
1 parent 2242db6 commit 541f149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luisa_compute/src/runtime/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl KernelParameter for rtx::AccelVar {
}

pub trait KernelParameter {
type Arg: KernelArg<Parameter = Self>;
type Arg: KernelArg<Parameter = Self> + 'static;
fn def_param(builder: &mut KernelBuilder) -> Self;
}

Expand Down

0 comments on commit 541f149

Please sign in to comment.