<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 11:31 AM KOLANICH <<a href="mailto:kolan_n@mail.ru">kolan_n@mail.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> -nocudainc should get clang's headers out of<span class="gmail_default" style="font-family:verdana,sans-serif"> </span>your<br>
>way, but it will be up to you to provide the equivalent.<br>
<br>
Yes, corriander provides replacements for NVidia headers. But the problem is in the header shipped with CLang.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">The problem is that you ended up including the headers (that do ship with clang) that were not intended to be used in your case. -nocudainc is there specifically to *not* use those headers. If you use -nocudainc, Clang's cuda-specific wrappers will not be in the header include path and clang will include <new> from whatever standard C++ library you have installed.</div></div><div> <br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--Artem Belevich</div></div></div>