"Unsupported integer type" for unsigned long long (uint64_t) value type of cuco::static_map #655
-
When I create a static_map with unsigned long long type, there is a error: |
Beta Was this translation helpful? Give feedback.
Answered by
PointKernel
Dec 11, 2024
Replies: 1 comment 1 reply
-
My nvcc version is 13.8 which should support #ifdef __CUDACC__
printf("__CUDACC__ defined\n");
#endif
#ifdef __SIZEOF_INT128__
printf("__SIZEOF_INT128__ is defined: %d bytes\n", __SIZEOF_INT128__);
#else
// Try a test for __int128 availability
__int128 test = 1; // If this compiles, __int128 is supported.
printf("__SIZEOF_INT128__ is not defined, but __int128 is supported.\n");
#endif
return 0; The output suggests that
it seems the compiler thinks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The size of
unsigned long long
is architecture-dependent and, therefore, not guaranteed to matchuint64_t
. We are tracking the addition ofINT128
support for Hopper GPUs and newer architectures in #547. Please refer to it for updates on this feature request.