Skip to content

Commit 0941bb0

Browse files
upsjyhmtsai
andauthored
improve formatting
Co-Authored-By: Yuhsiang M. Tsai <yhmtsai@gmail.com>
1 parent d53e79e commit 0941bb0

4 files changed

Lines changed: 4 additions & 12 deletions

File tree

cuda/components/prefix_sum.cu

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3030
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
******************************<GINKGO LICENSE>*******************************/
3232

33-
3433
#include "core/components/prefix_sum.hpp"
3534

3635

@@ -60,7 +59,6 @@ void prefix_sum(std::shared_ptr<const CudaExecutor> exec, IndexType *counts,
6059
block_sums);
6160
}
6261

63-
6462
GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);
6563

6664
// explicitly instantiate for size_type as well, as this is used in the SellP
@@ -71,4 +69,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const CudaExecutor> exec,
7169

7270
} // namespace cuda
7371
} // namespace kernels
74-
} // namespace gko
72+
} // namespace gko

hip/components/prefix_sum.hip.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3030
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
******************************<GINKGO LICENSE>*******************************/
3232

33-
3433
#include "core/components/prefix_sum.hpp"
3534

3635

@@ -61,7 +60,6 @@ void prefix_sum(std::shared_ptr<const HipExecutor> exec, IndexType *counts,
6160
counts, block_sums);
6261
}
6362

64-
6563
GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);
6664

6765
// explicitly instantiate for size_type as well, as this is used in the SellP
@@ -72,4 +70,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const HipExecutor> exec,
7270

7371
} // namespace hip
7472
} // namespace kernels
75-
} // namespace gko
73+
} // namespace gko

omp/components/prefix_sum.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3030
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
******************************<GINKGO LICENSE>*******************************/
3232

33-
3433
#include "core/components/prefix_sum.hpp"
3534

3635

@@ -51,7 +50,6 @@ void prefix_sum(std::shared_ptr<const OmpExecutor> exec, IndexType *counts,
5150
}
5251
}
5352

54-
5553
GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);
5654

5755
// explicitly instantiate for size_type as well, as this is used in the SellP
@@ -62,4 +60,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const OmpExecutor> exec,
6260

6361
} // namespace omp
6462
} // namespace kernels
65-
} // namespace gko
63+
} // namespace gko

reference/components/prefix_sum.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3030
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
******************************<GINKGO LICENSE>*******************************/
3232

33-
3433
#include "core/components/prefix_sum.hpp"
3534

3635

@@ -51,7 +50,6 @@ void prefix_sum(std::shared_ptr<const ReferenceExecutor> exec,
5150
}
5251
}
5352

54-
5553
GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);
5654

5755
// explicitly instantiate for size_type as well, as this is used in the SellP
@@ -63,4 +61,4 @@ template void prefix_sum<size_type>(
6361

6462
} // namespace reference
6563
} // namespace kernels
66-
} // namespace gko
64+
} // namespace gko

0 commit comments

Comments
 (0)