Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does jitify supports CUDA 11.x??? #91

Closed
FdyCN opened this issue Dec 9, 2021 · 4 comments
Closed

Does jitify supports CUDA 11.x??? #91

FdyCN opened this issue Dec 9, 2021 · 4 comments

Comments

@FdyCN
Copy link

FdyCN commented Dec 9, 2021

i really appreciate for y'all to provide this nice header. it's really helpful. but it seems to stop updating for a long time ? so does it support latest CUDA version?? thanks!

@Robadob
Copy link
Contributor

Robadob commented Dec 9, 2021

We actively use it as part of FLAMEGPU2 (https://github.com/FLAMEGPU/FLAMEGPU2).

We've been using it with CUDA versions from 10.2-11.4, without any problems related to changes within CUDA.

@FdyCN
Copy link
Author

FdyCN commented Dec 10, 2021

@Robadob
Thank you for ur reply. I still have one more question.
is it possible to overload operator "+-*/" in the ".cuh" header like those in example_headers, and using these overloading in the headers who are included in the kernel string?? seems hard to approach, cause kernel string has specified extern "C", i try to remove extern "C", but nvrtc will return error. is there any possibility to overloader operators?? thanks a lot!

@Robadob
Copy link
Contributor

Robadob commented Dec 10, 2021

I'm not sure what example you're referring to, but operator overloading works.

We've used operator overloads in some of our own code (e.g.) and it's also heavily use by GLM a header library we sometime use within NVRTC compiled kernels.

The main challenge with NVRTC compilation is that host code and system headers are not supported. So you have to be very careful in what the compiler sees. Jitify only helps in this manner by providing an incomplete set of drop-in system header replacements that might be wanted in device code. There can still be some effort required to get existing headers to be supported by NVRTC/Jitify.

@FdyCN
Copy link
Author

FdyCN commented Dec 11, 2021

@Robadob thanks for ur reply. i tried to overload operator in the a header which will be included in my kernel source. And it works, that's nice. i will keep following this header and your job ,it's really helpful. thank you again.

@FdyCN FdyCN closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants