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 5a06248
Show file tree
Hide file tree
Showing 2 changed files with 8 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
7 changes: 7 additions & 0 deletions thrust/thrust/system/cuda/detail/core/triple_chevron_launch.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
# pragma system_header
#endif // no system header

_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 <thrust/system/cuda/config.h>

#include <cuda/cmath>
Expand Down

0 comments on commit 5a06248

Please sign in to comment.