Skip to content

Commit

Permalink
Fix CI (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard authored Sep 16, 2024
1 parent 73dada8 commit 443b5c8
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ fn load_lhs_test<F: Float>(
lhs_sm[i] = F::new(0.);
}

sync_units();

let offsets = Offsets {
batch_lhs: 0,
batch_rhs: 0,
Expand All @@ -48,6 +50,8 @@ fn load_lhs_test<F: Float>(

load_lhs(lhs_tensor, &mut lhs_sm, 2, k_offset, runtime_info, config);

sync_units();

for i in 0..sm_size {
lhs_sm_arr[i] = lhs_sm[i];
}
Expand All @@ -72,6 +76,8 @@ fn load_rhs_test<F: Float>(
rhs_sm[i] = F::new(0.);
}

sync_units();

let offsets = Offsets {
batch_lhs: 0,
batch_rhs: 0,
Expand All @@ -88,6 +94,8 @@ fn load_rhs_test<F: Float>(

load_rhs(rhs_tensor, &mut rhs_sm, 2, k_offset, runtime_info, config);

sync_units();

for i in 0..sm_size {
rhs_sm_arr[i] = rhs_sm[i];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ fn load_tensor_multiple_tiles_test<F: Float>(
shared_memory[i] = F::vectorized(0., tile_size);
}

sync_units();

let unit_row = 4 * UNIT_POS_X;
let unit_col = 4 * UNIT_POS_Y;
let batch_offset = 0;
Expand Down Expand Up @@ -213,6 +215,8 @@ fn load_tensor_multiple_tiles_test<F: Float>(
load_rhs_plain::<F, TileLoader<F>>(tensor, info, config);
}

sync_units();

for i in 0..sm_size {
sm_out[i] = shared_memory[i];
}
Expand Down
7 changes: 0 additions & 7 deletions crates/cubecl-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,3 @@ quote = { workspace = true }
syn = { workspace = true }

cubecl-common = { path = "../cubecl-common", version = "0.2", default-features = false }

[dev-dependencies]
cubecl-core = { path = "../cubecl-core", version = "0.2", default-features = false }
cubecl-cuda = { path = "../cubecl-cuda", version = "0.2", default-features = true }
cubecl-linalg = { path = "../cubecl-linalg", version = "0.2", default-features = false }
cubecl-wgpu = { path = "../cubecl-wgpu", version = "0.2", default-features = false }
pretty_assertions = { workspace = true }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 443b5c8

Please sign in to comment.