Skip to content

Commit

Permalink
Rewrite legacy cpa kernels (#2455)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingertge authored Nov 7, 2024
1 parent c3549fb commit 8f83b2c
Show file tree
Hide file tree
Showing 54 changed files with 2,176 additions and 4,260 deletions.
81 changes: 28 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ ahash = { version = "0.8.11", default-features = false }
portable-atomic-util = { version = "0.2.2", features = ["alloc"] }

### For the main burn branch. ###
cubecl = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "9460a3244aa2b42e1d6c36bd25b65f814f81ecd0" }
cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "9460a3244aa2b42e1d6c36bd25b65f814f81ecd0" }
cubecl = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "4198b192c60bffff7ec51920bcd7191560d6c98b" }
cubecl-common = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "4198b192c60bffff7ec51920bcd7191560d6c98b" }
### For local development. ###
# cubecl = { path = "../cubecl/crates/cubecl", default-features = false }
# cubecl-common = { path = "../cubecl/crates/cubecl-common", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crates/burn-jit/src/kernel/conv/conv2d/implicit_gemm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ fn execute_gemm<F: Float, FMat: Float>(

// Run CMMA
cmma::load(&matrices.a, input_tile.as_slice(), cmma_k);
cmma::load(&matrices.b, weight_tile.as_slice(), cmma_n);
cmma::load(&matrices.b, weight_tile.as_slice(), cmma_k);

cmma::execute::<FMat, FMat, F, F>(&matrices.a, &matrices.b, &matrices.acc, &matrices.acc);
}
Expand Down
Loading

0 comments on commit 8f83b2c

Please sign in to comment.