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

Not an issue but a question due to lack of docs. #364

Open
mudapanda2 opened this issue Dec 3, 2022 · 1 comment
Open

Not an issue but a question due to lack of docs. #364

mudapanda2 opened this issue Dec 3, 2022 · 1 comment

Comments

@mudapanda2
Copy link

Hello there, is it possible to use this as a means to compile .h and .cpp HIP code on windows for creating GPU shader kernels? fatbins and cubins. I mean from pre-existing code to define the shaders.

The simplest way to explain it is Windows has no means to compile HIP c++ as far as I know, perhaps hiprtc workarounds, make some magic with oneAPI but so far this has looked the most promising.

If I could feed it amdhip64.dll in WSL and ask it to compile .cpp with provided headers and return fatbin to compile a renderer then I would be awestruck

@ghostplant
Copy link
Contributor

ghostplant commented Dec 5, 2022

Yes, this is exactly how it works at present. But it is not designed to directly compile HIP code written in tensorflow/torch.

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