Skip to content

Commit

Permalink
fix thrust optional
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Apr 26, 2024
1 parent 3869b21 commit 39b56e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/thrust/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ struct nullopt_t
/// foo(thrust::nullopt); //pass an empty optional
/// ```
#ifdef __CUDA_ARCH__
__device__ static _CCCL_CONSTEXPR_GLOBAL
__device__ static _LIBCUDACXX_CONSTEXPR_GLOBAL
#else
static constexpr
#endif // __CUDA_ARCH__
Expand Down

0 comments on commit 39b56e7

Please sign in to comment.