Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 0527be5

Browse files
Drop spurious LOG
1 parent eaaa65e commit 0527be5

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/cuda/test_tc_mapper.cc

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ TEST_F(TcCudaMapper1DReductionTest, DISABLED_Reduction1Dv0) {
5252
.tile(0)
5353
.mapToBlocks({})
5454
.mapToThreads({16});
55-
LOG(INFO) << mappingOptions << endl;
5655
at::Tensor A = at::CUDA(at::kFloat).rand({M});
5756
Check(A, mappingOptions, 0);
5857
}
@@ -62,7 +61,6 @@ TEST_F(TcCudaMapper1DReductionTest, Reduction1Dv1) {
6261
.tile(0)
6362
.mapToBlocks({1})
6463
.mapToThreads({16});
65-
LOG(INFO) << mappingOptions << endl;
6664
at::Tensor A = at::CUDA(at::kFloat).rand({M});
6765
Check(A, mappingOptions, 1);
6866
}
@@ -72,7 +70,6 @@ TEST_F(TcCudaMapper1DReductionTest, Reduction1Dv2) {
7270
.tile(0)
7371
.mapToBlocks({1})
7472
.mapToThreads({16});
75-
LOG(INFO) << mappingOptions << endl;
7673
at::Tensor A = at::CUDA(at::kFloat).rand({M});
7774
Check(A, mappingOptions, 2);
7875
}
@@ -82,7 +79,6 @@ TEST_F(TcCudaMapper1DReductionTest, Reduction1Dv3) {
8279
.tile(0)
8380
.mapToBlocks({1})
8481
.mapToThreads({16});
85-
LOG(INFO) << mappingOptions << endl;
8682
at::Tensor A = at::CUDA(at::kFloat).rand({M});
8783
Check(A, mappingOptions, 3);
8884
}
@@ -97,7 +93,6 @@ TEST_F(TcCudaMapper2DReductionTest, Reduction2D1) {
9793
.mapToBlocks({1, 1})
9894
.mapToThreads({32})
9995
.matchLibraryCalls(true);
100-
LOG(INFO) << mappingOptions << endl;
10196
at::Tensor A = at::CUDA(at::kFloat).rand({M, N});
10297
Check(A, mappingOptions);
10398
}
@@ -119,7 +114,6 @@ struct TcCudaMapper2DReductionStressTest : public TcCudaMapper2DReductionTest {
119114
.mapToBlocks({1})
120115
.mapToThreads({tix, tiy})
121116
.matchLibraryCalls(true);
122-
LOG(INFO) << mappingOptions << endl;
123117
at::Tensor A = ones ? at::CUDA(at::kFloat).ones({M, N})
124118
: at::CUDA(at::kFloat).rand({M, N});
125119
return TcCudaMapper2DReductionTest::Check(A, mappingOptions, skipCheck);
@@ -196,8 +190,6 @@ TEST_F(TcCudaMapperMatmulTest, Matmul1DSchedule) {
196190
.mapToBlocks({M, N})
197191
.mapToThreads({std::min(32u, K)})
198192
.matchLibraryCalls(true);
199-
LOG(INFO) << mappingOptions << endl;
200-
201193
at::Tensor A = at::CUDA(at::kFloat).rand({M, K});
202194
at::Tensor B = at::CUDA(at::kFloat).rand({K, N});
203195
Check(A, B, mappingOptions);
@@ -213,8 +205,6 @@ TEST_F(TcCudaMapperMatmulTest, Matmul1DScheduleMultipleOccurrence) {
213205
.mapToBlocks({8})
214206
.mapToThreads({16})
215207
.matchLibraryCalls(true);
216-
LOG(INFO) << mappingOptions << endl;
217-
218208
at::Tensor A = at::CUDA(at::kFloat).rand({M, K});
219209
at::Tensor B = at::CUDA(at::kFloat).rand({K, N});
220210
Check(A, B, mappingOptions);
@@ -226,8 +216,6 @@ TEST_F(TcCudaMapperMatmulTest, Matmul3DSchedule) {
226216
.mapToBlocks({1, 1, 1})
227217
.mapToThreads({4, 1, 1});
228218
mappingOptions.matchLibraryCalls(true);
229-
LOG(INFO) << mappingOptions << endl;
230-
231219
at::Tensor A = at::CUDA(at::kFloat).rand({M, K});
232220
at::Tensor B = at::CUDA(at::kFloat).rand({K, N});
233221
Check(A, B, mappingOptions);
@@ -239,8 +227,6 @@ TEST_F(TcCudaMapperMatmulTest, Matmul3DScheduleMultipleOccurrence) {
239227
.mapToBlocks({8})
240228
.mapToThreads({16})
241229
.matchLibraryCalls(true);
242-
LOG(INFO) << mappingOptions << endl;
243-
244230
at::Tensor A = at::CUDA(at::kFloat).rand({M, K});
245231
at::Tensor B = at::CUDA(at::kFloat).rand({K, N});
246232
Check(A, B, mappingOptions);
@@ -258,8 +244,6 @@ TEST_F(TcCudaMapperBatchMatmulTest, BatchMatmul) {
258244
.usePrivateMemory(true)
259245
.useSharedMemory(true);
260246
mappingOptions.matchLibraryCalls(true);
261-
LOG(INFO) << mappingOptions << endl;
262-
263247
at::Tensor A = at::CUDA(at::kFloat).rand({50, 26, 72});
264248
at::Tensor B = at::CUDA(at::kFloat).rand({50, 72, 26});
265249
Check(A, B, mappingOptions);

0 commit comments

Comments
 (0)