Compiler Quirks and Gotcha's - orlandoacevedo/MCGPU GitHub Wiki
Compiler Quirks and Gotcha's
- Class methods that contain GPU code will often fail to compile or give incorrect responses. This is why code that contains GPU logic is typically contained in a namespace.
- Calling vector routines (prefaced with
#pragma acc routine vector
) defined in a separate namespace will fail to link.