Developing Portable CUDA C/C++ Code with Hemi

Originally published at: https://developer.nvidia.com/blog/developing-portable-cuda-cc-code-hemi/

Software development is as much about writing code fast as it is about writing fast code, and central to rapid development is software reuse and portability. When building heterogeneous applications, developers must be able to share code between projects, platforms, compilers, and target architectures. Ideally, libraries of domain-specific code should be easily retargetable. In this…