Re: [cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-09 Thread Artem Belevich via cfe-users
On Fri, Nov 9, 2018 at 11:31 AM KOLANICH wrote: > > -nocudainc should get clang's headers out of your > >way, but it will be up to you to provide the equivalent. > > Yes, corriander provides replacements for NVidia headers. But the problem > is in the header shipped with CLang. > The problem is

Re: [cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-09 Thread KOLANICH via cfe-users
2018 11 9 18:38:24 UTC, Artem Belevich пишет: >+cc cfe-users back; > >On Thu, Nov 8, 2018 at 10:20 PM KOLANICH wrote: > >> 2018 11 7 23:25:38 UTC, Artem Belevich пишет: >> >This may be same/similar to >https://bugs.llvm.org/show_bug.cgi?id=38811 >> > >> >Basically, there's no owner for CUDA supp

Re: [cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-09 Thread Artem Belevich via cfe-users
+cc cfe-users back; On Thu, Nov 8, 2018 at 10:20 PM KOLANICH wrote: > 2018 11 7 23:25:38 UTC, Artem Belevich пишет: > >This may be same/similar to https://bugs.llvm.org/show_bug.cgi?id=38811 > > > >Basically, there's no owner for CUDA support on windows. Someone needs > >to > >figure out why/ho

Re: [cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-07 Thread Artem Belevich via cfe-users
This may be same/similar to https://bugs.llvm.org/show_bug.cgi?id=38811 Basically, there's no owner for CUDA support on windows. Someone needs to figure out why/how CUDA includes behave differently under mingw and figure out how to work around that in the CUDA wrapper headers in clang. On Fri, N

[cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-02 Thread KOLANICH via cfe-users
Hello everybody. Could anyone clarify how to use this cuda target (-std=c++11 -x cuda) with MinGW stdlib? I mean I get errors \LLVM-7.0.0-win32\lib\clang\7.0.0\include\cuda_wrappers\new:41:12: error: use of undeclared identifier 'malloc' return ::malloc(size); \LLVM-7.0.0-win32\lib\clang\7.0.0