Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions gemm-test/dgemm_tests.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
#ifdef DGEMM_1
typedef cutlass::gemm::DgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor,
cutlass::Shape<8, 32, 64> > DGemmTraits1;
run_gemm<DGemmTraits1>(64, 32, 8);
#endif

#ifdef DGEMM_2


typedef cutlass::gemm::DgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor,
cutlass::Shape<8, 32, 64> > DGemmTraits2;
run_gemm<DGemmTraits2>(256, 128, 64);
#endif

#ifdef DGEMM_3


typedef cutlass::gemm::DgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor,
cutlass::Shape<8, 64, 64> > DGemmTraits3;
run_gemm<DGemmTraits3>(64, 64, 8);
#endif

8 changes: 2 additions & 6 deletions gemm-test/sgemm_tests.h
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
#ifdef SGEMM_1
typedef cutlass::gemm::SgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor, cutlass::Shape<8, 128, 128> >
SgemmTraits1;
run_gemm<SgemmTraits1>(1024, 512, 8);
#endif

#ifdef SGEMM_2

typedef cutlass::gemm::SgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor, cutlass::Shape<8, 128, 128> >
SgemmTraits2;
run_gemm<SgemmTraits2>(128, 81, 1);
#endif

#ifdef SGEMM_3

typedef cutlass::gemm::SgemmTraits<cutlass::MatrixLayout::kColumnMajor,
cutlass::MatrixLayout::kRowMajor, cutlass::Shape<8, 128, 128> >
SgemmTraits3;
run_gemm<SgemmTraits3>(128, 112, 8);
#endif
Loading