Task #2675: bonded CUDA offload task
clean up and refactor code to modern standards
Although the module is new, it landed with some aspects that don't meet the coding standards of the project.
This has also caused confusion as we've been pointing at this module as the model for how we want new code to look like.
- modernize naming
- get rid of macros
- modernize argument function argument naming/formatting
- consider introducing module-local structs to pack arguments