title: cuda inline and noinline device functions
body: <p>According to the documentation, in devices of compute capability 1.x the compiler will inline <code>__device__</code> functions by default, but for devices of compute capability 2.x and higher it will only do so if deemed appropriate by the compiler. When is it appropriate not to? There are also qualifiers such as <code>__noinline__</code> and <code>__forceinline__</code>. In which cases is it better not to inline a <code>__device__</code> function?</p>