diff options
Diffstat (limited to 'prelude')
| -rw-r--r-- | prelude/slang-cuda-prelude.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/prelude/slang-cuda-prelude.h b/prelude/slang-cuda-prelude.h index b5d8b3788..c23189320 100644 --- a/prelude/slang-cuda-prelude.h +++ b/prelude/slang-cuda-prelude.h @@ -1,3 +1,7 @@ +#ifdef SLANG_CUDA_ENABLE_OPTIX +#include <optix.h> +#endif + // Must be large enough to cause overflow and therefore infinity #ifndef SLANG_INFINITY |
