July 2024
Intermediate to advanced
436 pages
10h 46m
English
We present some techniques that can help minimize the effort involved in porting codes to CUDA Fortran, including condition inclusion of source code, renaming variables via use statements and associate blocks, and techniques to minimize device footprint.
CUF kernels; Conditional inclusion of code; !@cuf sentinel; Managed data; Use statement renaming; Associate blocks; Array compaction; Gather; Scatter; Union
This chapter contains material that is helpful in porting applications to CUDA Fortran. The techniques presented here are not optimization techniques in the sense of making codes run faster, rather they are coding styles and techniques that can reduce the effort involved in porting applications ...
Read now
Unlock full access