Skip to content

Commit 093cd95

Browse files
authored
Merge branch 'main' into stf_unstable_unique_utility_move
2 parents fa0e63b + b5b97b0 commit 093cd95

File tree

8 files changed

+6
-42
lines changed

8 files changed

+6
-42
lines changed

cudax/include/cuda/experimental/__stf/internal/cooperative_group_system.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# pragma system_header
2121
#endif // no system header
2222

23-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
2423
#if _CCCL_CUDA_COMPILATION()
2524
# include <cooperative_groups.h>
2625
#endif // _CCCL_CUDA_COMPILATION()

cudax/include/cuda/experimental/__stf/internal/execution_policy.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#endif // no system header
2525

2626
#include <cuda/experimental/__stf/utility/core.cuh>
27-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
2827
#include <cuda/experimental/__stf/utility/cuda_safe_call.cuh>
2928

3029
#include <cassert>

cudax/include/cuda/experimental/__stf/internal/hashtable_linearprobing.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
# pragma system_header
2828
#endif // no system header
2929

30-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
3130
#include <cuda/experimental/__stf/utility/cuda_safe_call.cuh>
3231
#include <cuda/experimental/__stf/utility/hash.cuh>
3332

cudax/include/cuda/experimental/__stf/internal/parallel_for_scope.cuh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ __global__ void loop(const _CCCL_GRID_CONSTANT size_t n, shape_t shape, F f, tup
6262

6363
// This will explode the targs tuple into a pack of data
6464
// Help the compiler which may not detect that a device lambda is calling a device lambda
65-
CUDASTF_NO_DEVICE_STACK
65+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
6666
auto const explode_args = [&](auto&... data) {
67-
CUDASTF_NO_DEVICE_STACK
67+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
6868
auto const explode_coords = [&](auto&&... coords) {
6969
// No move/forward for `data` because it's used multiple times.
7070
f(::std::forward<decltype(coords)>(coords)..., data...);
@@ -304,9 +304,9 @@ __global__ void loop_redux(
304304
// This is used to build the arguments passed to the user-provided lambda function.
305305

306306
// Help the compiler which may not detect that a device lambda is calling a device lambda
307-
CUDASTF_NO_DEVICE_STACK
307+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
308308
const auto explode_args = [&](auto&&... data) {
309-
CUDASTF_NO_DEVICE_STACK
309+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
310310
const auto explode_coords = [&](auto&&... coords) {
311311
// No move/forward for `data` because it's used multiple times.
312312
f(::std::forward<decltype(coords)>(coords)..., data...);

cudax/include/cuda/experimental/__stf/utility/cartesian_iterator.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# pragma system_header
2121
#endif // no system header
2222

23-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
2423
#include <cuda/experimental/__stf/utility/unittest.cuh>
2524

2625
namespace cuda::experimental::stf::reserved

cudax/include/cuda/experimental/__stf/utility/core.cuh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
# pragma system_header
2525
#endif // no system header
2626

27-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
28-
2927
#include <cstddef>
3028
#include <functional>
3129
#include <limits>

cudax/include/cuda/experimental/__stf/utility/cuda_attributes.cuh

Lines changed: 0 additions & 29 deletions
This file was deleted.

cudax/include/cuda/experimental/__stf/utility/dimensions.cuh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
# pragma system_header
2626
#endif // no system header
2727

28-
#include <cuda/experimental/__stf/utility/cuda_attributes.cuh>
2928
#include <cuda/experimental/__stf/utility/hash.cuh>
3029
#include <cuda/experimental/__stf/utility/unittest.cuh>
3130

@@ -491,7 +490,7 @@ public:
491490
_CCCL_HOST_DEVICE coords_t index_to_coords(size_t index) const
492491
{
493492
// Help the compiler which may not detect that a device lambda is calling a device lambda
494-
CUDASTF_NO_DEVICE_STACK
493+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
495494
return make_tuple_indexwise<dimensions>([&](auto i) {
496495
// included
497496
const ::std::ptrdiff_t begin_i = get_begin(i);
@@ -500,7 +499,7 @@ public:
500499
index /= extent_i;
501500
return result;
502501
});
503-
CUDASTF_NO_DEVICE_STACK
502+
_CCCL_DIAG_SUPPRESS_NVHPC(no_device_stack)
504503
}
505504

506505
private:

0 commit comments

Comments
 (0)