Skip to content

Commit

Permalink
Test NVHPC suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 13, 2025
1 parent 5968aac commit 37a773b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ workflows:
# - {jobs: ['test'], project: 'thrust', std: 17, ctk: 'curr', cxx: ['gcc12', 'clang16']}
#
override:

- {jobs: ['build'], std: [17, 20], ctk: '12.5', cxx: 'nvhpc'}
pull_request:
# Old CTK/compiler
- {jobs: ['build'], std: 'minmax', ctk: '12.0', cxx: ['gcc7', 'gcc9', 'clang14', 'msvc2019']}
Expand Down
6 changes: 6 additions & 0 deletions cub/cub/detail/detect_cuda_runtime.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@

// CUDA headers might not be present when using NVRTC, see NVIDIA/cccl#2095 for detail
#if !_CCCL_COMPILER(NVRTC)
_CCCL_SUPPRESS_DEPRECATED_PUSH
# ifdef __CUDA_RUNTIME_H__
# error cuda_runtime.h was already included
# endif
# include <cuda_runtime.h>
_CCCL_SUPPRESS_DEPRECATED_POP
# include <cuda_runtime_api.h>
#endif // !_CCCL_COMPILER(NVRTC)

Expand Down

0 comments on commit 37a773b

Please sign in to comment.