Skip to content

Commit f471095

Browse files
committed
Cleanups
1 parent d62a6c3 commit f471095

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/dispatch-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");

ci/matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ pull_request:
4747
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '13', exe: 'g++'}, gpu_build_archs: '80', std: [17], jobs: ['build']}
4848
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '60,90', std: [17], jobs: ['build']}
4949
# Clang build configuration
50-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'llvm', version: '16', exe: 'clang++'}, gpu_build_archs: '80', std: [17], jobs: ['build'], build_flags: '--tests --examples'}
50+
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'llvm', version: '16', exe: 'clang++'}, gpu_build_archs: '80', std: [17], jobs: ['build']}

include/cuco/detail/utility/cuda.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ __device__ constexpr int32_t warp_size() noexcept { return 32; }
4848
*
4949
* @return The global thread index
5050
*/
51-
[[maybe_unused]] __device__ static index_type global_thread_id() noexcept
51+
__device__ constexpr index_type global_thread_id() noexcept
5252
{
5353
return index_type{threadIdx.x} + index_type{blockDim.x} * index_type{blockIdx.x};
5454
}
@@ -58,7 +58,7 @@ __device__ constexpr int32_t warp_size() noexcept { return 32; }
5858
*
5959
* @return The grid stride
6060
*/
61-
[[maybe_unused]] __device__ static index_type grid_stride() noexcept
61+
__device__ constexpr index_type grid_stride() noexcept
6262
{
6363
return index_type{gridDim.x} * index_type{blockDim.x};
6464
}

0 commit comments

Comments
 (0)