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

Support taking PTX (and OpenCL-PTX) as the kernel source #39

Open
eyalroz opened this issue Jul 10, 2022 · 0 comments
Open

Support taking PTX (and OpenCL-PTX) as the kernel source #39

eyalroz opened this issue Jul 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jul 10, 2022

Both CUDA and OpenCL allow you to use PTX as the source for a kernel, albeit somewhat differently than CUDA C++ or OpenCL C. The kernel runner should be adapted to accept PTX as input, and complete the compilation into a directly executable kernel. At least initially, we can require the user to tell us explicitly that the kernel is PTX (in addition to saying whether it's CUDA or OpenCL code), so that we don't need to worry about source file type autodetection.

@eyalroz eyalroz added the enhancement New feature or request label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant