Skip to content
  • James Bigler's avatar
    FindCUDA: Handle c++11 host flag · 99abebde
    James Bigler authored and Brad King's avatar Brad King committed
    If the host flags contain a c++11 flag (at least for gcc), then we can't
    automatically propagate to nvcc it using -Xcompiler.  This is because
    nvcc can't use any C++ only flags.  Instead we find this flag and add it
    to nvcc's flags (it has a special flag for dealing with c++11 code) and
    remove it from the host flags.
    
    Co-Author: Guillermo Marcus <gmarcus@nvidia.com>
    99abebde