-
Notifications
You must be signed in to change notification settings - Fork 358
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
PTX export not working #255
Comments
are you running an Nvidia GPU? The PTX export only works with Nvidia hardware. For the OpenCL-Wrapper, you have to uncomment this line to get it working: https://github.com/ProjectPhysX/OpenCL-Wrapper/blob/master/src/utilities.hpp#L4 Kind regards, |
Hi @ProjectPhysX , Yes I am on Nvidia RTX 3090. I forgot to mention the specs. I added the driver specific version too, and visual studio version. Best Regards |
is it possible that you compiled with latest official Khronos Group OpenCL headers instead of the older OpenCL headers I had shipped? string ptx = (char*)&cl_program.getInfo<CL_PROGRAM_BINARIES>()[0][0]; Kind regards, |
@ProjectPhysX Hi there, sorry for being late. By the way for anyone who doesn't see the PTX file after compilation, you will not see it. Best Regards |
Great! Yes the OpenCL kernels are only compiled at runtime, so have to start the executable once to get PTX output. Kind regards, |
Thank you for the beautiful work.
I would like to report that exporting Nvidia PTX code not working.
Specs:
NVidia RTX 3090
Win 11 x64
driver : 551.76 WHQL DCH [r551_71-2]
Visual Sudio 2022
Best Regards
The text was updated successfully, but these errors were encountered: