Skip to content

Commit a4be38c

Browse files
authored
[URGENT][TRIVIAL] Make sure cudaLibrary_t is used only in versions that define it (#5790)
1 parent 68ce701 commit a4be38c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cudax/include/cuda/experimental/__library/library_ref.cuh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ struct library_symbol_info
4646
class library_ref
4747
{
4848
public:
49-
#if _CCCL_CTK_BELOW(12, 5)
49+
#if _CCCL_CTK_BELOW(12, 7)
5050
using value_type = ::CUlibrary;
51-
#else // ^^^ _CCCL_CTK_BELOW(12, 5) ^^^ / vvv _CCCL_CTK_AT_LEAST(12, 5) vvv
51+
#else // ^^^ _CCCL_CTK_BELOW(12, 7) ^^^ / vvv _CCCL_CTK_AT_LEAST(12, 7) vvv
5252
using value_type = ::cudaLibrary_t;
53-
#endif // _CCCL_CTK_BELOW(12, 5)
53+
#endif // _CCCL_CTK_BELOW(12, 7)
5454

5555
//! @brief Disallow construction from a null pointer
5656
library_ref(::cuda::std::nullptr_t) = delete;

0 commit comments

Comments
 (0)