Skip to content

Commit

Permalink
Define intptr_t and uintptr_t with CUDACC_RTC
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusikkala committed Jan 23, 2025
1 parent d8c1652 commit 08cb560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prelude/slang-cuda-prelude.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 08cb560

Please sign in to comment.