Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor - JIT] Gather Scatter new implementations #1356

Merged
merged 9 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
nathanielsimard committed Feb 23, 2024
commit 8104a11741bd3e7276cbc86bfe93b8a54f5077da
1 change: 0 additions & 1 deletion crates/burn-tensor/src/tensor/api/numeric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ where
F: FnOnce(Tensor<B, D, Int>, i64) -> Tensor<B, D, Bool>,
{
check!(TensorCheck::tri::<{ D }>());
println!("Compare");

let shape = self.shape();
let height = shape.dims[D - 2];
Expand Down
1 change: 0 additions & 1 deletion crates/burn-tensor/src/tests/ops/tri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mod tests {
&Default::default(),
);

println!("{tensor}");
let output = tensor.triu(1);
assert_eq!(
output.to_data(),
Expand Down
2 changes: 1 addition & 1 deletion crates/burn-wgpu/src/codegen/dialect/gpu/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl Scope {
index_offset_with_output_layout_position: Vec::new(),
writes_global: Vec::new(),
reads_scalar: Vec::new(),
layout_ref: self.layout_ref.clone(),
layout_ref: self.layout_ref,
undeclared: 0,
}
}
Expand Down
Loading