Skip to content

Compiler Quirks and Gotcha's

Brandon edited this page Jun 6, 2016 · 1 revision

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.
Clone this wiki locally