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
* @file array/cpu/array_nonzero.cc
* @brief Array nonzero CPU implementation
......
/*!
/**
* Copyright (c) 2020-2021 by Contributors
* @file array/cuda/array_op_impl.cu
* @brief Array operator GPU implementation
......
/*!
/**
* Copyright (c) 2019 by Contributors
* @file array/cuda/array_scatter.cu
* @brief Array scatter GPU implementation
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cpu/array_sort.cu
* @brief Array sort GPU implementation
......
/*!
/**
* Copyright (c) 2019 by Contributors
* @file array/cuda/atomic.cuh
* @brief Atomic functions
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/coo2csr.cc
* @brief COO2CSR
......@@ -58,7 +58,7 @@ CSRMatrix COOToCSR<kDGLCUDA, int32_t>(COOMatrix coo) {
coo.num_rows, coo.num_cols, indptr, coo.col, coo.data, col_sorted);
}
/*!
/**
* @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
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/coo_sort.cc
* @brief Sort COO index
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/csr2coo.cc
* @brief CSR2COO
......@@ -45,7 +45,7 @@ COOMatrix CSRToCOO<kDGLCUDA, int32_t>(CSRMatrix csr) {
csr.num_rows, csr.num_cols, row, indices, data, true, csr.sorted);
}
/*!
/**
* @brief Repeat elements
* @param val Value to repeat
* @param repeats Number of repeats for each value
......
/*!
/**
* Copyright (c) 2021 by Contributors
* @file array/cuda/csr_get_data.cu
* @brief Retrieve entries of a CSR matrix
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/csr_mm.cu
* @brief SpSpMM/SpGEMM C APIs and definitions.
......@@ -18,7 +18,7 @@ namespace cusparse {
#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>
std::pair<CSRMatrix, NDArray> CusparseSpgemm(
const CSRMatrix& A,
......@@ -127,7 +127,7 @@ std::pair<CSRMatrix, NDArray> CusparseSpgemm(
#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>
std::pair<CSRMatrix, NDArray> CusparseSpgemm(
const CSRMatrix& A,
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/csr_sort.cc
* @brief Sort CSR index
......@@ -16,7 +16,7 @@ using runtime::NDArray;
namespace aten {
namespace impl {
/*!
/**
* @brief Check whether each row is sorted.
*/
template <typename IdType>
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/spmm.cu
* @brief SpGEAM C APIs and definitions.
......@@ -16,7 +16,7 @@ using namespace dgl::runtime;
namespace aten {
namespace cusparse {
/*! Cusparse implementation of SpSum on Csr format. */
/** Cusparse implementation of SpSum on Csr format. */
template <typename DType, typename IdType>
std::pair<CSRMatrix, NDArray> CusparseCsrgeam2(
const CSRMatrix& A,
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/csr_transpose.cc
* @brief CSR transpose (convert to CSC)
......
/*!
/**
* Copyright (c) 2021 by Contributors
* @file array/cuda/cuda_filter.cc
* @brief Object for selecting items in a set, or selecting items not in a set.
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/dispatcher.cuh
* @brief Templates to dispatch into different cuSPARSE routines based on the type
......@@ -15,7 +15,7 @@
namespace dgl {
namespace aten {
/*! @brief cusparseXcsrgemm dispatcher */
/** @brief cusparseXcsrgemm dispatcher */
template <typename DType>
struct CSRGEMM {
template <typename... Args>
......@@ -122,7 +122,7 @@ struct CSRGEMM<double> {
}
};
/*! @brief cusparseXcsrgeam dispatcher */
/** @brief cusparseXcsrgeam dispatcher */
template <typename DType>
struct CSRGEAM {
template <typename... Args>
......
/*!
/**
* Copyright (c) 2021 by Contributors
* @file cuda_common.h
* @brief Wrapper to place cub in dgl namespace.
......
/*!
/**
* Copyright (c) 2020-2022 by Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/functor.cuh
* @brief Functors for template on CUDA
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/gather_mm.cu
* @brief GatherMM C APIs and definitions.
......@@ -15,7 +15,7 @@ namespace aten {
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>
cublasStatus_t cublasGemm(cublasHandle_t handle, cublasOperation_t transa,
cublasOperation_t transb, int m, int n, int k,
......@@ -198,7 +198,7 @@ __global__ void GatherMMScatterKernel2(
} // namespace cuda
/*!
/**
* @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k
......@@ -309,7 +309,7 @@ void SegmentMMBackwardB(const NDArray A,
}
}
/*!
/**
* @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k
......@@ -346,7 +346,7 @@ void GatherMM(const NDArray A,
tot_num_rows, in_len, out_len);
}
/*!
/**
* @brief Implementation of Gather_mm operator. The input matrix A is
* expected to be sorted according to relation type.
* @param A The input dense matrix of dimension m x k
......
/*!
/**
* Copyright (c) 2020 by Contributors
* @file array/cuda/ge_spmm.cuh
* @brief GE-SpMM CUDA kernel function header.
......@@ -18,7 +18,7 @@ using namespace cuda;
namespace aten {
namespace cuda {
/*!
/**
* @brief CUDA kernel of GE-SpMM on Csr.
* @note GE-SpMM: https://arxiv.org/pdf/2007.03179.pdf
* 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