My compiler (clang8 on ubuntu) complains about cuda.h header:
/usr/local/cuda/include/cuda.h:2425:5: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
CU_MEM_HANDLE_TYPE_MAX = 0xFFFFFFFF
^ ~~~~~~~~~~
/usr/local/cuda/include/cuda.h:2435:5: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
CU_MEM_ACCESS_FLAGS_PROT_MAX = 0xFFFFFFFF
^ ~~~~~~~~~~
/usr/local/cuda/include/cuda.h:2444:5: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
CU_MEM_LOCATION_TYPE_MAX = 0xFFFFFFFF
^ ~~~~~~~~~~
/usr/local/cuda/include/cuda.h:2457:5: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
CU_MEM_ALLOCATION_TYPE_MAX = 0xFFFFFFFF
This is with:
CUDA Version 10.2.89