Skip to content

Commit

Permalink
Fix use of doxygen \file command
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Aug 19, 2024
1 parent ba9e9bb commit 7ba7b4e
Show file tree
Hide file tree
Showing 31 changed files with 84 additions and 65 deletions.
5 changes: 3 additions & 2 deletions cub/cub/block/block_adjacent_difference.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file The cub::BlockAdjacentDifference class provides collective methods for computing
//! the differences of adjacent elements partitioned across a CUDA thread block.
//! @file
//! The cub::BlockAdjacentDifference class provides collective methods for computing the differences of adjacent
//! elements partitioned across a CUDA thread block.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/block/block_load.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
*
******************************************************************************/

//! @file block_load.cuh Operations for reading linear tiles of data into the CUDA thread block.
//! @file
//! block_load.cuh Operations for reading linear tiles of data into the CUDA thread block.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/block/block_radix_rank.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
*
******************************************************************************/

//! @file cub::BlockRadixRank provides operations for ranking unsigned integer types within a CUDA thread block
//! @file
//! cub::BlockRadixRank provides operations for ranking unsigned integer types within a CUDA thread block

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/block/block_reduce.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file The cub::BlockReduce class provides :ref:`collective <collective-primitives>` methods for computing
//! a parallel reduction of items partitioned across a CUDA thread block.
//! @file
//! The cub::BlockReduce class provides :ref:`collective <collective-primitives>` methods for computing a parallel
//! reduction of items partitioned across a CUDA thread block.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/block/block_scan.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file The cub::BlockScan class provides :ref:`collective <collective-primitives>` methods for computing a
//! parallel prefix sum/scan of items partitioned across a CUDA thread block.
//! @file
//! The cub::BlockScan class provides :ref:`collective <collective-primitives>` methods for computing a parallel prefix
//! sum/scan of items partitioned across a CUDA thread block.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/block/block_shuffle.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file The cub::BlockShuffle class provides :ref:`collective <collective-primitives>` methods for shuffling
//! data partitioned across a CUDA thread block.
//! @file
//! The cub::BlockShuffle class provides :ref:`collective <collective-primitives>` methods for shuffling data
//! partitioned across a CUDA thread block.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/block/block_store.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
*
******************************************************************************/

//! @file Operations for writing linear segments of data from the CUDA thread block
//! @file
//! Operations for writing linear segments of data from the CUDA thread block

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/device/device_copy.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
******************************************************************************/

//! @file cub::DeviceCopy provides device-wide, parallel operations for copying data.
//! @file
//! cub::DeviceCopy provides device-wide, parallel operations for copying data.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_histogram.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceHistogram provides device-wide parallel operations for
//! constructing histogram(s) from a sequence of samples data residing
//! within device-accessible memory.
//! @file
//! cub::DeviceHistogram provides device-wide parallel operations for constructing histogram(s) from a sequence of
//! samples data residing within device-accessible memory.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/device/device_memcpy.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
******************************************************************************/

//! @file cub::DeviceMemcpy provides device-wide, parallel operations for copying data.
//! @file
//! cub::DeviceMemcpy provides device-wide, parallel operations for copying data.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/device/device_partition.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file cub::DevicePartition provides device-wide, parallel operations for
//! partitioning sequences of data items residing within device-accessible memory.
//! @file
//! cub::DevicePartition provides device-wide, parallel operations for partitioning sequences of data items residing
//! within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_radix_sort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceRadixSort provides device-wide, parallel operations for
//! computing a radix sort across a sequence of data items residing within
//! device-accessible memory.
//! @file
//! cub::DeviceRadixSort provides device-wide, parallel operations for computing a radix sort across a sequence of data
//! items residing within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_reduce.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceReduce provides device-wide, parallel operations for
//! computing a reduction across a sequence of data items residing within
//! device-accessible memory.
//! @file
//! cub::DeviceReduce provides device-wide, parallel operations for computing a reduction across a sequence of data
//! items residing within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_run_length_encode.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceRunLengthEncode provides device-wide, parallel operations
//! for computing a run-length encoding across a sequence of data items
//! residing within device-accessible memory.
//! @file
//! cub::DeviceRunLengthEncode provides device-wide, parallel operations for computing a run-length encoding across a
//! sequence of data items residing within device-accessible memory.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/device/device_scan.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceScan provides device-wide, parallel operations for computing a prefix scan across
//! a sequence of data items residing within device-accessible memory.
//! @file
//! cub::DeviceScan provides device-wide, parallel operations for computing a prefix scan across a sequence of data
//! items residing within device-accessible memory.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/device/device_segmented_radix_sort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceSegmentedRadixSort provides device-wide, parallel operations for computing a batched radix sort
//! across multiple, non-overlapping sequences of data items residing within device-accessible memory.
//! @file
//! cub::DeviceSegmentedRadixSort provides device-wide, parallel operations for computing a batched radix sort across
//! multiple, non-overlapping sequences of data items residing within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_segmented_reduce.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceSegmentedReduce provides device-wide, parallel operations
//! for computing a batched reduction across multiple sequences of data
//! items residing within device-accessible memory.
//! @file
//! cub::DeviceSegmentedReduce provides device-wide, parallel operations for computing a batched reduction across
//! multiple sequences of data items residing within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_segmented_sort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
*
******************************************************************************/

//! @file cub::DeviceSegmentedSort provides device-wide, parallel operations for
//! computing a batched sort across multiple, non-overlapping sequences of
//! data items residing within device-accessible memory.
//! @file
//! cub::DeviceSegmentedSort provides device-wide, parallel operations for computing a batched sort across multiple,
//! non-overlapping sequences of data items residing within device-accessible memory.

#pragma once

Expand Down
6 changes: 3 additions & 3 deletions cub/cub/device/device_select.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*
******************************************************************************/

//! @file cub::DeviceSelect provides device-wide, parallel operations for
//! compacting selected items from sequences of data items residing within
//! device-accessible memory.
//! @file
//! cub::DeviceSelect provides device-wide, parallel operations for compacting selected items from sequences of data
//! items residing within device-accessible memory.

#pragma once

Expand Down
5 changes: 3 additions & 2 deletions cub/cub/device/device_spmv.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
*
******************************************************************************/

//! @file cub::DeviceSpmv provides device-wide parallel operations for performing
//! sparse-matrix * vector multiplication (SpMV).
//! @file
//! cub::DeviceSpmv provides device-wide parallel operations for performing sparse-matrix * vector multiplication
//! (SpMV).

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/util_cpp_dialect.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
******************************************************************************/

//! @file Detect the version of the C++ standard used by the compiler.
//! @file
//! Detect the version of the C++ standard used by the compiler.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/warp/warp_load.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
******************************************************************************/

//! @file Operations for reading linear tiles of data into the CUDA warp.
//! @file
//! Operations for reading linear tiles of data into the CUDA warp.

#pragma once

Expand Down
3 changes: 2 additions & 1 deletion cub/cub/warp/warp_store.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
*
******************************************************************************/

//! @file Operations for writing linear segments of data from the CUDA warp
//! @file
//! Operations for writing linear segments of data from the CUDA warp

#pragma once

Expand Down
8 changes: 4 additions & 4 deletions cub/test/catch2_main.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@

#include <iostream>

//! @file This file includes a custom Catch2 main function. When CMake is configured to build
//! each test as a separate executable, this header is included into each test. On the other
//! hand, when all the tests are compiled into a single executable, this header is excluded
//! from the tests and included into catch2_runner.cpp
//! @file
//! This file includes a custom Catch2 main function. When CMake is configured to build each test as a separate
//! executable, this header is included into each test. On the other hand, when all the tests are compiled into a single
//! executable, this header is excluded from the tests and included into catch2_runner.cpp

#ifdef CUB_CONFIG_MAIN
# define CATCH_CONFIG_RUNNER
Expand Down
5 changes: 3 additions & 2 deletions cub/test/catch2_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
*
******************************************************************************/

//! @file This file includes a custom Catch2 main function when CMake is configured to build
//! all tests into a single executable.
//! @file
//! This file includes a custom Catch2 main function when CMake is configured to build all tests into a single
//! executable.

#define CUB_CONFIG_MAIN
#define CUB_EXCLUDE_CATCH2_HELPER_IMPL
Expand Down
8 changes: 4 additions & 4 deletions cub/test/catch2_runner_helper.cu
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
*
******************************************************************************/

//! @file This file includes CUDA-specific utilities for custom Catch2 main function when CMake is
//! configured to build all tests into a single executable. In this case, we have to have
//! a CUDA target in the final Catch2 executable, otherwise CMake confuses linker options and
//! MSVC/RDC build fails.
//! @file
//! This file includes CUDA-specific utilities for custom Catch2 main function when CMake is configured to build all
//! tests into a single executable. In this case, we have to have a CUDA target in the final Catch2 executable,
//! otherwise CMake confuses linker options and MSVC/RDC build fails.

#include "catch2_runner_helper.inl"
8 changes: 4 additions & 4 deletions cub/test/catch2_runner_helper.inl
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

#pragma once

//! @file This file includes implementation of CUDA-specific utilities for custom Catch2 main
//! When CMake is configured to include all the tests into a single executable, this file
//! is only included into catch2_runner_helper.cu. When CMake is configured to compile
//! each test as a separate binary, this file is included into each test.
//! @file
//! This file includes implementation of CUDA-specific utilities for custom Catch2 main When CMake is configured to
//! include all the tests into a single executable, this file is only included into catch2_runner_helper.cu. When CMake
//! is configured to compile each test as a separate binary, this file is included into each test.

#include <iostream>

Expand Down
3 changes: 2 additions & 1 deletion cub/test/catch2_test_launch_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

#include "catch2_test_helper.h"

//! @file This file contains utilities for device-scope API tests
//! @file
//! This file contains utilities for device-scope API tests
//!
//! Device-scope API in CUB can be launched from the host or device side.
//! Utilities in this file facilitate testing in both cases.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
#if _CCCL_STD_VER >= 2014 && !defined(_CCCL_COMPILER_MSVC_2017) \
&& defined(LIBCUDACXX_ENABLE_EXPERIMENTAL_MEMORY_RESOURCE)

//! @file The \c uninitialized_buffer class provides a typed buffer allocated from a given memory resource.
//! @file
//! The \c uninitialized_buffer class provides a typed buffer allocated from a given memory resource.
namespace cuda::experimental
{

Expand Down
3 changes: 2 additions & 1 deletion libcudacxx/include/cuda/memory_resource
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#endif // no system header

//!@rst
//! @file Defines facilities to allocate and deallocate memory in a type safe manner
//! @file
//! Defines facilities to allocate and deallocate memory in a type safe manner
//!
//! .. note::
//!
Expand Down
5 changes: 2 additions & 3 deletions thrust/thrust/system/cpp/pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
* limitations under the License.
*/

/*! \file thrust/system/cpp/memory.h
* \brief Managing memory associated with Thrust's TBB system.
*/
//! \file
//! Managing memory associated with Thrust's TBB system.

#pragma once

Expand Down

0 comments on commit 7ba7b4e

Please sign in to comment.