Skip to content

Import of helper libraries into cuda kernels #797

Answered by Robadob
isolin asked this question in Q&A
Discussion options

You must be logged in to vote

I don't actually recognise that error, it's coming from Jitify which we use for handling RTC compilation. But I know enough about RTC to explain the likely problem.

The RTC compiler does not have access to the CUDA_samples directory or CUDA include directory, I'm not even sure if we specify the working directory as somewhere it can look for include files. Similarly, standard C/C++ system headers are not available to NVRTC, and Jitify provides shims for a subset of them. This generally means including additional headers within RTC kernels can be a bit delicate.

We recognise that basic vector maths are very useful, and have an experimental feature USE_GLM, which enables access to glm vector

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@isolin
Comment options

@Robadob
Comment options

Answer selected by isolin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants