Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist1 committed Aug 26, 2023
1 parent ad222b6 commit 79ed19c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/tensor_ops/matmul/cuda_kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ fn gemm_cfg<M: Dim, K: Dim, N: Dim, E: Dtype>(
beta,
ldc: out_stride as i32,
};
println!(
"TRUE! lda: {}, ldb {}, ldc: {}, {}, {}, {}",
cfg.lda,
cfg.ldb,
cfg.ldc,
m.size(),
k.size(),
n.size(),
);
(cfg, true)
} else {
// out is stored in column major format
Expand All @@ -56,7 +65,7 @@ fn gemm_cfg<M: Dim, K: Dim, N: Dim, E: Dtype>(
ldc: out_stride as i32,
};
println!(
"lda: {}, ldb {}, ldc: {}, {}, {}, {}",
"FALSE! lda: {}, ldb {}, ldc: {}, {}, {}, {}",
cfg.lda,
cfg.ldb,
cfg.ldc,
Expand Down

0 comments on commit 79ed19c

Please sign in to comment.