title: How to disable a specific nvcc compiler warnings
body: <p>I want to disable a specific compiler warning with <code>nvcc</code>, specifically</p>
  
  <blockquote>
    <p>warning: NULL reference is not allowed</p>
  </blockquote>
  
  <p>The code I am working on uses <code>NULL</code> references are part of SFINAE, so they can't be avoided.</p>
  
  <p>An ideal solution would be a <code>#pragma</code> in just the source file where we want to disable the warnings, but a compiler flag would also be fine, if one exists to turn off only the warning in question.</p>