on-internet
← Community

How to write GPU code using only g++ or clang++

Stack Overflow ·

I'm working on a c++ project which has a single step that is computation limited, and I think this would naturally fit within the scope of GPU acceleration. However, the platform I'm working with doesn't have nvcc. Is there a way to write GPU accelerated code using just g++ or clang++? Preferably without pulling in a ton of library dependencies. Edits: Thanks for the responses! Fair enough, to add more details I'm working on a system where I can't install libraries via the system installer. Any library that I need that's not already installed has to go in my home folder. That's okay, although

Comments

Sign in or sign up to comment and upvote.

No comments yet.