forked from thomasvrussell/sfft
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Add the ability to support either nvrtc or nvcc cuda backends.
- Minimal: Set variable to replace all of the currently string literal "nvcc". This could still be hardcoded, but would be easier to update in the code.
- Better: Have a configuration parameter that can be passed to sfft to choose which backend.
- Stretch: Set up config system handling following snappl/photometry examples. This is probably too much effort for something that doesn't matter and would start to customize this fork unecessarily.
Motivation: The 'nvrtc' backend doesn't require that the CUDA version support the available gcc compiler. The 'nvcc' does; and furthermore, GPUs break containerization abstraction because the CUDA version has to match the driver in the host OS running the hardware. So as @rknop and @wmwv have been testing out different containers (on NERSC), it is (a) helpful to have this backend flexibility and (b) at least changing to 'nvrtc' is necessary to support desired combinations right now on NERSC.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels