From 551a808c227216e9e38d4472ba8ff020557b8500 Mon Sep 17 00:00:00 2001 From: Masahiro Masuda Date: Thu, 17 Mar 2022 16:21:00 +0900 Subject: [PATCH] rename example numbers to 34 and 35 --- .../34_wgrad_split_k.cu} | 4 ++-- .../{30_wgrad_split_k => 34_wgrad_split_k}/CMakeLists.txt | 4 ++-- .../35_transposed_conv2d.cu} | 4 ++-- .../CMakeLists.txt | 4 ++-- examples/CMakeLists.txt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) rename examples/{30_wgrad_split_k/30_wgrad_split_k.cu => 34_wgrad_split_k/34_wgrad_split_k.cu} (99%) rename examples/{30_wgrad_split_k => 34_wgrad_split_k}/CMakeLists.txt (97%) rename examples/{31_transposed_conv2d/31_transposed_conv2d.cu => 35_transposed_conv2d/35_transposed_conv2d.cu} (99%) rename examples/{31_transposed_conv2d => 35_transposed_conv2d}/CMakeLists.txt (97%) diff --git a/examples/30_wgrad_split_k/30_wgrad_split_k.cu b/examples/34_wgrad_split_k/34_wgrad_split_k.cu similarity index 99% rename from examples/30_wgrad_split_k/30_wgrad_split_k.cu rename to examples/34_wgrad_split_k/34_wgrad_split_k.cu index e32d28c5..0d96a876 100644 --- a/examples/30_wgrad_split_k/30_wgrad_split_k.cu +++ b/examples/34_wgrad_split_k/34_wgrad_split_k.cu @@ -288,7 +288,7 @@ struct Options { /// Prints the usage statement. std::ostream & print_usage(std::ostream &out) const { - out << "30_wgrad_split_k example\n\n" + out << "34_wgrad_split_k example\n\n" << " This example shows how to compute conv2d gradient with respect to weight (wgrad).\n" << " In wgrad, the K dimension of impligit GEMM, corresponding to the sequential reduction loop, is very large (N * P * Q).\n" << " Split-k with parallel reduction is highly effective for such cases.\n\n" @@ -312,7 +312,7 @@ struct Options { << " --tag String to replicate across the first column in the results table\n"; out << "\n\nExamples:\n\n" - << "$ ./examples/30_wgrad_split_k/30_wgrad_split_k --n=32 --h=224 --w=224 --c=128 --k=256 --r=3 --s=3 --split-k-slices=8\n\n"; + << "$ ./examples/34_wgrad_split_k/34_wgrad_split_k --n=32 --h=224 --w=224 --c=128 --k=256 --r=3 --s=3 --split-k-slices=8\n\n"; return out; } diff --git a/examples/30_wgrad_split_k/CMakeLists.txt b/examples/34_wgrad_split_k/CMakeLists.txt similarity index 97% rename from examples/30_wgrad_split_k/CMakeLists.txt rename to examples/34_wgrad_split_k/CMakeLists.txt index 8cc96ce9..d9bd9e05 100644 --- a/examples/30_wgrad_split_k/CMakeLists.txt +++ b/examples/34_wgrad_split_k/CMakeLists.txt @@ -22,6 +22,6 @@ cutlass_example_add_executable( - 30_wgrad_split_k - 30_wgrad_split_k.cu + 34_wgrad_split_k + 34_wgrad_split_k.cu ) diff --git a/examples/31_transposed_conv2d/31_transposed_conv2d.cu b/examples/35_transposed_conv2d/35_transposed_conv2d.cu similarity index 99% rename from examples/31_transposed_conv2d/31_transposed_conv2d.cu rename to examples/35_transposed_conv2d/35_transposed_conv2d.cu index 703e23db..60332298 100644 --- a/examples/31_transposed_conv2d/31_transposed_conv2d.cu +++ b/examples/35_transposed_conv2d/35_transposed_conv2d.cu @@ -226,7 +226,7 @@ struct Options { /// Prints the usage statement. std::ostream & print_usage(std::ostream &out) const { - out << "31_transposed_conv2d example\n\n" + out << "35_transposed_conv2d example\n\n" << " This example shows how to compute 2d transposed convolution, also known as\n" << " deconvolution, using CUTLASS conv2d Dgrad kernels. Although two operations are\n" << " computationaly equivalent, some care is needed to correctly set up a problem size.\n\n" @@ -247,7 +247,7 @@ struct Options { << " --tag String to replicate across the first column in the results table\n"; out << "\n\nExamples:\n\n" - << "$ ./examples/31_transposed_conv2d/31_transposed_conv2d --n=8 --h=32 --w=32 --c=16 --k=32 --r=3 --s=3\n\n"; + << "$ ./examples/35_transposed_conv2d/35_transposed_conv2d --n=8 --h=32 --w=32 --c=16 --k=32 --r=3 --s=3\n\n"; return out; } diff --git a/examples/31_transposed_conv2d/CMakeLists.txt b/examples/35_transposed_conv2d/CMakeLists.txt similarity index 97% rename from examples/31_transposed_conv2d/CMakeLists.txt rename to examples/35_transposed_conv2d/CMakeLists.txt index 6d56f68b..67c4af69 100644 --- a/examples/31_transposed_conv2d/CMakeLists.txt +++ b/examples/35_transposed_conv2d/CMakeLists.txt @@ -22,6 +22,6 @@ cutlass_example_add_executable( - 31_transposed_conv2d - 31_transposed_conv2d.cu + 35_transposed_conv2d + 35_transposed_conv2d.cu ) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index cbcb31d9..60bd5d9f 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -101,8 +101,8 @@ foreach(EXAMPLE 27_ampere_3xtf32_fast_accurate_tensorop_gemm 28_ampere_3xtf32_fast_accurate_tensorop_fprop 29_ampere_3xtf32_fast_accurate_tensorop_complex_gemm - 30_wgrad_split_k - 31_transposed_conv2d + 34_wgrad_split_k + 35_transposed_conv2d ) add_subdirectory(${EXAMPLE})