Skip to content

Commit

Permalink
fix typo using compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
AD2605 committed Sep 6, 2024
1 parent 404e6c0 commit 2a6a565
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions benchmarks/benchmark_runner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ struct BenchmarkRunnerGemm {
stride_C = cutlass::make_cute_packed_stride(StrideC{}, cute::make_shape(M, N, L));
stride_D = cutlass::make_cute_packed_stride(StrideD{}, cute::make_shape(M, N, L));

std::size_t block_A_size = std::size_t(M) * std::size(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size(N) * std::size_t(L);
std::size_t block_A_size = std::size_t(M) * std::size_t(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size_t(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size_t(N) * std::size_t(L);

block_A.reset(block_A_size);
block_B.reset(block_B_size);
Expand Down
6 changes: 3 additions & 3 deletions examples/sycl/pvc/pvc_collective_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ struct ExampleRunner {
stride_C = cutlass::make_cute_packed_stride(StrideC{}, cute::make_shape(M, N, L));
stride_D = cutlass::make_cute_packed_stride(StrideD{}, cute::make_shape(M, N, L));

std::size_t block_A_size = std::size_t(M) * std::size(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size(N) * std::size_t(L);
std::size_t block_A_size = std::size_t(M) * std::size_t(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size_t(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size_t(N) * std::size_t(L);

block_A.reset(block_A_size);
block_B.reset(block_B_size);
Expand Down
6 changes: 3 additions & 3 deletions examples/sycl/pvc/pvc_gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ struct ExampleRunner {
stride_C = cutlass::make_cute_packed_stride(StrideC{}, cute::make_shape(M, N, L));
stride_D = cutlass::make_cute_packed_stride(StrideD{}, cute::make_shape(M, N, L));

std::size_t block_A_size = std::size_t(M) * std::size(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size(N) * std::size_t(L);
std::size_t block_A_size = std::size_t(M) * std::size_t(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size_t(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size_t(N) * std::size_t(L);

block_A.reset(block_A_size);
block_B.reset(block_B_size);
Expand Down
6 changes: 3 additions & 3 deletions examples/sycl/pvc/pvc_gemm_with_epilogue_relu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ struct ExampleRunner {
stride_C = cutlass::make_cute_packed_stride(StrideC{}, cute::make_shape(M, N, L));
stride_D = cutlass::make_cute_packed_stride(StrideD{}, cute::make_shape(M, N, L));

std::size_t block_A_size = std::size_t(M) * std::size(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size(N) * std::size_t(L);
std::size_t block_A_size = std::size_t(M) * std::size_t(K) * std::size_t(L);
std::size_t block_B_size = std::size_t(K) * std::size_t(N) * std::size_t(L);
std::size_t block_C_size = std::size_t(M) * std::size_t(N) * std::size_t(L);

block_A.reset(block_A_size);
block_B.reset(block_B_size);
Expand Down

0 comments on commit 2a6a565

Please sign in to comment.