kunzmi / managedCuda

ManagedCUDA aims an easy integration of NVidia's CUDA in .net applications written in C#, Visual Basic or any other .net language.
Other
440 stars 79 forks source link

Can't include curand.h #75

Open BJury opened 5 years ago

BJury commented 5 years ago

I can't seem to include curand.h using CudaRuntimeCompiler.Compile().

Including currand.h give me a 'cannot open source file curand.h' error.

Using the code below yields many more errors.

var rtc = new CudaRuntimeCompiler(GetKernel(), "DoNothing", new[] { @"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include", @"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" }, new[] { "curand.h", "curand_kernel.h" } );

Compiling code without these includes works fine.