Skip to content

Commit

Permalink
disjoin 64/32-bit macros
Browse files Browse the repository at this point in the history
  • Loading branch information
fbusato committed Jan 3, 2025
1 parent 9d0a322 commit 6a857f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libcudacxx/include/cuda/std/__cccl/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@
# define _CCCL_ARCH_X86_() 0
#endif

// 64-bit / 32-bit
// 64-bit
#if _CCCL_ARCH_X86_64_() || _CCCL_ARCH_ARM64_() || defined(__CUDACC_RTC__)
# define _CCCL_ARCH_64BIT_() 1
# define _CCCL_ARCH_32BIT_() 0
#else
#endif

// 32-bit
#if _CCCL_ARCH_X86_32_()
# define _CCCL_ARCH_64BIT_() 0
# define _CCCL_ARCH_32BIT_() 1
#endif
Expand Down

0 comments on commit 6a857f7

Please sign in to comment.