You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a few cases, we have needed to include kernel code in strings in Python. It would be good to start refactoring this out into separate .cu/.c files that we load instead. This has the benefit that .cu/.c files are more familiar to developers and various tooling (linters/compilers/etc.). Also it can potentially be used in C/C++ code directly. Making this change could help with general maintainability & usability of the codebase going forward.
As one example of this kind of change, please see commit ( 2608b2e ). There are some other CUDA or C/C++ codes in Python strs. It would likely be simple to refactor these out into .cu or .c/.cpp.
A separate, but related question would be how we would like to use these on the C++ side.
Activity
jakirkham commentedon Nov 30, 2022
As one example of this kind of change, please see commit ( 2608b2e ). There are some other CUDA or C/C++ codes in Python
strs. It would likely be simple to refactor these out into.cuor.c/.cpp.A separate, but related question would be how we would like to use these on the C++ side.
Edit: Here are a few more examples