mirror of https://github.com/tracel-ai/burn.git
merged
This commit is contained in:
commit
97b53624b9
|
@ -200,7 +200,7 @@ fn write_tile_transposed<F: Float>(
|
||||||
} else {
|
} else {
|
||||||
for i in range(0u32, Comptime::get(tile_size), unroll) {
|
for i in range(0u32, Comptime::get(tile_size), unroll) {
|
||||||
let mut transposed = F::vectorized(0., Comptime::get(tile_size));
|
let mut transposed = F::vectorized(0., Comptime::get(tile_size));
|
||||||
for j in range(0u32, Comptime::get(tile_size), unroll) {
|
for j in range(0u32, Comptime::get(tile_size), Comptime::new(true)) {
|
||||||
let mut row = tile[j];
|
let mut row = tile[j];
|
||||||
if j > Comptime::runtime(tile_size) {
|
if j > Comptime::runtime(tile_size) {
|
||||||
row = F::vectorized(0., Comptime::get(tile_size));
|
row = F::vectorized(0., Comptime::get(tile_size));
|
||||||
|
|
Loading…
Reference in New Issue