diff --git a/prelude/slang-cuda-prelude.h b/prelude/slang-cuda-prelude.h index 6fe87b0384..5585ad6e00 100644 --- a/prelude/slang-cuda-prelude.h +++ b/prelude/slang-cuda-prelude.h @@ -205,11 +205,13 @@ typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; +typedef ptrdiff_t intptr_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; +typedef size_t uintptr_t; #endif