Unverified Commit bcd37684 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Replace /*! with /**. (#4823)



* replace

* blabla

* balbla

* blabla
Co-authored-by: default avatarSteve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
parent 619d735d
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cpu/array_nonzero.cc * @file array/cpu/array_nonzero.cc
* @brief Array nonzero CPU implementation * @brief Array nonzero CPU implementation
......
/*! /**
* Copyright (c) 2020-2021 by Contributors * Copyright (c) 2020-2021 by Contributors
* @file array/cuda/array_op_impl.cu * @file array/cuda/array_op_impl.cu
* @brief Array operator GPU implementation * @brief Array operator GPU implementation
......
/*! /**
* Copyright (c) 2019 by Contributors * Copyright (c) 2019 by Contributors
* @file array/cuda/array_scatter.cu * @file array/cuda/array_scatter.cu
* @brief Array scatter GPU implementation * @brief Array scatter GPU implementation
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cpu/array_sort.cu * @file array/cpu/array_sort.cu
* @brief Array sort GPU implementation * @brief Array sort GPU implementation
......
/*! /**
* Copyright (c) 2019 by Contributors * Copyright (c) 2019 by Contributors
* @file array/cuda/atomic.cuh * @file array/cuda/atomic.cuh
* @brief Atomic functions * @brief Atomic functions
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/coo2csr.cc * @file array/cuda/coo2csr.cc
* @brief COO2CSR * @brief COO2CSR
...@@ -58,7 +58,7 @@ CSRMatrix COOToCSR<kDGLCUDA, int32_t>(COOMatrix coo) { ...@@ -58,7 +58,7 @@ CSRMatrix COOToCSR<kDGLCUDA, int32_t>(COOMatrix coo) {
coo.num_rows, coo.num_cols, indptr, coo.col, coo.data, col_sorted); coo.num_rows, coo.num_cols, indptr, coo.col, coo.data, col_sorted);
} }
/*! /**
* @brief Search for the insertion positions for needle in the hay. * @brief Search for the insertion positions for needle in the hay.
* *
* The hay is a list of sorted elements and the result is the insertion position * The hay is a list of sorted elements and the result is the insertion position
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/coo_sort.cc * @file array/cuda/coo_sort.cc
* @brief Sort COO index * @brief Sort COO index
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/csr2coo.cc * @file array/cuda/csr2coo.cc
* @brief CSR2COO * @brief CSR2COO
...@@ -45,7 +45,7 @@ COOMatrix CSRToCOO<kDGLCUDA, int32_t>(CSRMatrix csr) { ...@@ -45,7 +45,7 @@ COOMatrix CSRToCOO<kDGLCUDA, int32_t>(CSRMatrix csr) {
csr.num_rows, csr.num_cols, row, indices, data, true, csr.sorted); csr.num_rows, csr.num_cols, row, indices, data, true, csr.sorted);
} }
/*! /**
* @brief Repeat elements * @brief Repeat elements
* @param val Value to repeat * @param val Value to repeat
* @param repeats Number of repeats for each value * @param repeats Number of repeats for each value
......
/*! /**
* Copyright (c) 2021 by Contributors * Copyright (c) 2021 by Contributors
* @file array/cuda/csr_get_data.cu * @file array/cuda/csr_get_data.cu
* @brief Retrieve entries of a CSR matrix * @brief Retrieve entries of a CSR matrix
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/csr_mm.cu * @file array/cuda/csr_mm.cu
* @brief SpSpMM/SpGEMM C APIs and definitions. * @brief SpSpMM/SpGEMM C APIs and definitions.
...@@ -18,7 +18,7 @@ namespace cusparse { ...@@ -18,7 +18,7 @@ namespace cusparse {
#if 0 // disabling CUDA 11.0+ implementation for now because of problems on bigger graphs #if 0 // disabling CUDA 11.0+ implementation for now because of problems on bigger graphs
/*! @brief Cusparse implementation of SpGEMM on Csr format for CUDA 11.0+ */ /** @brief Cusparse implementation of SpGEMM on Csr format for CUDA 11.0+ */
template <typename DType, typename IdType> template <typename DType, typename IdType>
std::pair<CSRMatrix, NDArray> CusparseSpgemm( std::pair<CSRMatrix, NDArray> CusparseSpgemm(
const CSRMatrix& A, const CSRMatrix& A,
...@@ -127,7 +127,7 @@ std::pair<CSRMatrix, NDArray> CusparseSpgemm( ...@@ -127,7 +127,7 @@ std::pair<CSRMatrix, NDArray> CusparseSpgemm(
#else // __CUDACC_VER_MAJOR__ != 11 #else // __CUDACC_VER_MAJOR__ != 11
/*! @brief Cusparse implementation of SpGEMM on Csr format for older CUDA versions */ /** @brief Cusparse implementation of SpGEMM on Csr format for older CUDA versions */
template <typename DType, typename IdType> template <typename DType, typename IdType>
std::pair<CSRMatrix, NDArray> CusparseSpgemm( std::pair<CSRMatrix, NDArray> CusparseSpgemm(
const CSRMatrix& A, const CSRMatrix& A,
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/csr_sort.cc * @file array/cuda/csr_sort.cc
* @brief Sort CSR index * @brief Sort CSR index
...@@ -16,7 +16,7 @@ using runtime::NDArray; ...@@ -16,7 +16,7 @@ using runtime::NDArray;
namespace aten { namespace aten {
namespace impl { namespace impl {
/*! /**
* @brief Check whether each row is sorted. * @brief Check whether each row is sorted.
*/ */
template <typename IdType> template <typename IdType>
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/spmm.cu * @file array/cuda/spmm.cu
* @brief SpGEAM C APIs and definitions. * @brief SpGEAM C APIs and definitions.
...@@ -16,7 +16,7 @@ using namespace dgl::runtime; ...@@ -16,7 +16,7 @@ using namespace dgl::runtime;
namespace aten { namespace aten {
namespace cusparse { namespace cusparse {
/*! Cusparse implementation of SpSum on Csr format. */ /** Cusparse implementation of SpSum on Csr format. */
template <typename DType, typename IdType> template <typename DType, typename IdType>
std::pair<CSRMatrix, NDArray> CusparseCsrgeam2( std::pair<CSRMatrix, NDArray> CusparseCsrgeam2(
const CSRMatrix& A, const CSRMatrix& A,
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/csr_transpose.cc * @file array/cuda/csr_transpose.cc
* @brief CSR transpose (convert to CSC) * @brief CSR transpose (convert to CSC)
......
/*! /**
* Copyright (c) 2021 by Contributors * Copyright (c) 2021 by Contributors
* @file array/cuda/cuda_filter.cc * @file array/cuda/cuda_filter.cc
* @brief Object for selecting items in a set, or selecting items not in a set. * @brief Object for selecting items in a set, or selecting items not in a set.
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/dispatcher.cuh * @file array/cuda/dispatcher.cuh
* @brief Templates to dispatch into different cuSPARSE routines based on the type * @brief Templates to dispatch into different cuSPARSE routines based on the type
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
namespace dgl { namespace dgl {
namespace aten { namespace aten {
/*! @brief cusparseXcsrgemm dispatcher */ /** @brief cusparseXcsrgemm dispatcher */
template <typename DType> template <typename DType>
struct CSRGEMM { struct CSRGEMM {
template <typename... Args> template <typename... Args>
...@@ -122,7 +122,7 @@ struct CSRGEMM<double> { ...@@ -122,7 +122,7 @@ struct CSRGEMM<double> {
} }
}; };
/*! @brief cusparseXcsrgeam dispatcher */ /** @brief cusparseXcsrgeam dispatcher */
template <typename DType> template <typename DType>
struct CSRGEAM { struct CSRGEAM {
template <typename... Args> template <typename... Args>
......
/*! /**
* Copyright (c) 2021 by Contributors * Copyright (c) 2021 by Contributors
* @file cuda_common.h * @file cuda_common.h
* @brief Wrapper to place cub in dgl namespace. * @brief Wrapper to place cub in dgl namespace.
......
/*! /**
* Copyright (c) 2020-2022 by Contributors * Copyright (c) 2020-2022 by Contributors
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/functor.cuh * @file array/cuda/functor.cuh
* @brief Functors for template on CUDA * @brief Functors for template on CUDA
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/gather_mm.cu * @file array/cuda/gather_mm.cu
* @brief GatherMM C APIs and definitions. * @brief GatherMM C APIs and definitions.
...@@ -15,7 +15,7 @@ namespace aten { ...@@ -15,7 +15,7 @@ namespace aten {
namespace { namespace {
/*! @brief Call cuBLAS GEMM API for dense matmul operation for float and double. */ /** @brief Call cuBLAS GEMM API for dense matmul operation for float and double. */
template <typename DType> template <typename DType>
cublasStatus_t cublasGemm(cublasHandle_t handle, cublasOperation_t transa, cublasStatus_t cublasGemm(cublasHandle_t handle, cublasOperation_t transa,
cublasOperation_t transb, int m, int n, int k, cublasOperation_t transb, int m, int n, int k,
...@@ -198,7 +198,7 @@ __global__ void GatherMMScatterKernel2( ...@@ -198,7 +198,7 @@ __global__ void GatherMMScatterKernel2(
} // namespace cuda } // namespace cuda
/*! /**
* @brief Implementation of Gather_mm operator. The input matrix A is * @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type. * expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k * @param A The input dense matrix of dimension m x k
...@@ -309,7 +309,7 @@ void SegmentMMBackwardB(const NDArray A, ...@@ -309,7 +309,7 @@ void SegmentMMBackwardB(const NDArray A,
} }
} }
/*! /**
* @brief Implementation of Gather_mm operator. The input matrix A is * @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type. * expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k * @param A The input dense matrix of dimension m x k
...@@ -346,7 +346,7 @@ void GatherMM(const NDArray A, ...@@ -346,7 +346,7 @@ void GatherMM(const NDArray A,
tot_num_rows, in_len, out_len); tot_num_rows, in_len, out_len);
} }
/*! /**
* @brief Implementation of Gather_mm operator. The input matrix A is * @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type. * expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k * @param A The input dense matrix of dimension m x k
......
/*! /**
* Copyright (c) 2020 by Contributors * Copyright (c) 2020 by Contributors
* @file array/cuda/ge_spmm.cuh * @file array/cuda/ge_spmm.cuh
* @brief GE-SpMM CUDA kernel function header. * @brief GE-SpMM CUDA kernel function header.
...@@ -18,7 +18,7 @@ using namespace cuda; ...@@ -18,7 +18,7 @@ using namespace cuda;
namespace aten { namespace aten {
namespace cuda { namespace cuda {
/*! /**
* @brief CUDA kernel of GE-SpMM on Csr. * @brief CUDA kernel of GE-SpMM on Csr.
* @note GE-SpMM: https://arxiv.org/pdf/2007.03179.pdf * @note GE-SpMM: https://arxiv.org/pdf/2007.03179.pdf
* The grid dimension x and y are reordered for better performance. * The grid dimension x and y are reordered for better performance.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment