I haven’t tried the sample project. I’m about to head home for the day but I’ll give that a shot tomorrow.
Here’s the compiler output:
1>------ Build started: Project: GRIST, Configuration: Debug x64 ------
1> Creating directories “PTX_files” if they don’t exist yet
1> Compiling CUDA source file src\GRIST.cpp…
1>
1> C:\Users\csmith\Documents\SandBox\Programs\GildedMonkey\GRIST>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc.exe” --use-local-env --cl-version 2012 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64” -I"C:/ProgramData/NVIDIA Corporation/OptiX SDK 3.9.0/include" -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\include" -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\include\optixu" -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\SDK\sutil" -I.\include -I.\CUDA_files -I…....\Utils -I…....\DCS\src\wideband_utilities\signal_processing_utilities -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -G --keep-dir x64\Debug --machine 64 -ptx -cudart shared -D_USE_MATH_DEFINES -DNOMINMAX -DCUDA_64_BIT_DEVICE_CODE --compiler-options /D_USE_MATH_DEFINES -DNVCC --disable-warnings -o x64\Debug\GRIST.cpp.obj “C:\Users\csmith\Documents\SandBox\Programs\GildedMonkey\GRIST\src\GRIST.cpp”
1> GRIST.cpp
1>C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/system/cuda/detail/for_each.inl(109): error C2027: use of undefined type ‘thrust::detail::STATIC_ASSERTION_FAILURE’
1> with
1> [
1> x=false
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/for_each.inl(71) : see reference to function template instantiation ‘RandomAccessIterator thrust::system::cuda::detail::for_each_nthrust::system::cuda::detail::tag,InputIterator,Size,UnaryFunction(thrust::system::cuda::detail::execution_policythrust::system::cuda::detail::tag &,RandomAccessIterator,Size,UnaryFunction)’ being compiled
1> with
1> [
1> RandomAccessIterator=thrust::device_ptr<thrust::complex>,
1> InputIterator=thrust::device_ptr<thrust::complex>,
1> Size=__int64,
1> UnaryFunction=thrust::detail::allocator_traits_detail::gozer
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/allocator/destroy_range.inl(136) : see reference to function template instantiation ‘InputIterator thrust::for_each_n<DerivedPolicy,Pointer,Size,thrust::detail::allocator_traits_detail::gozer>(const thrust::detail::execution_policy_base &,InputIterator,Size,UnaryFunction)’ being compiled
1> with
1> [
1> InputIterator=thrust::device_ptr<thrust::complex>,
1> DerivedPolicy=thrust::system::cuda::detail::tag,
1> Pointer=thrust::device_ptr<thrust::complex>,
1> Size=__int64,
1> UnaryFunction=thrust::detail::allocator_traits_detail::gozer
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/allocator/destroy_range.inl(157) : see reference to function template instantiation ‘void thrust::detail::allocator_traits_detail::destroy_range<Allocator,Pointer,Size>(Allocator &,Pointer,Size)’ being compiled
1> with
1> [
1> Allocator=thrust::device_malloc_allocator<thrust::complex>,
1> Pointer=thrust::device_ptr<thrust::complex>,
1> Size=__int64
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/contiguous_storage.inl(256) : see reference to function template instantiation ‘void thrust::detail::destroy_range<thrust::device_malloc_allocator,Base,__int64>(Allocator &,Pointer,Size)’ being compiled
1> with
1> [
1> T=thrust::complex,
1> Base=thrust::device_ptr<thrust::complex>,
1> Allocator=thrust::device_malloc_allocator<thrust::complex>,
1> Pointer=thrust::device_ptr<thrust::complex>,
1> Size=__int64
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/contiguous_storage.inl(255) : while compiling class template member function ‘void thrust::detail::contiguous_storage<T,Alloc>::destroy(thrust::detail::normal_iterator,thrust::detail::normal_iterator)’
1> with
1> [
1> T=thrust::complex,
1> Alloc=thrust::device_malloc_allocator<thrust::complex>,
1> Pointer=thrust::device_ptr<thrust::complex>
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/vector_base.inl(474) : see reference to function template instantiation ‘void thrust::detail::contiguous_storage<T,Alloc>::destroy(thrust::detail::normal_iterator,thrust::detail::normal_iterator)’ being compiled
1> with
1> [
1> T=thrust::complex,
1> Alloc=thrust::device_malloc_allocator<thrust::complex>,
1> Pointer=thrust::device_ptr<thrust::complex>
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/detail/vector_base.inl(44) : while compiling class template member function ‘thrust::detail::vector_base<T,Alloc>::vector_base(void)’
1> with
1> [
1> T=thrust::complex,
1> Alloc=thrust::device_malloc_allocator<thrust::complex>
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/device_vector.h(69) : see reference to function template instantiation ‘thrust::detail::vector_base<T,Alloc>::vector_base(void)’ being compiled
1> with
1> [
1> T=thrust::complex,
1> Alloc=thrust::device_malloc_allocator<thrust::complex>
1> ]
1> C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include\thrust/device_vector.h(54) : see reference to class template instantiation ‘thrust::detail::vector_base<T,Alloc>’ being compiled
1> with
1> [
1> T=thrust::complex,
1> Alloc=thrust::device_malloc_allocator<thrust::complex>
1> ]
1> C:/Users/csmith/Documents/SandBox/Programs/GildedMonkey/GRIST/src/GRIST.cpp(120) : see reference to class template instantiation ‘thrust::device_vector’ being compiled
1> with
1> [
1> T=thrust::complex
1> ]
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\BuildCustomizations\CUDA 7.5.targets(604,9): error MSB3721: The command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc.exe” --use-local-env --cl-version 2012 -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64” -I"C:/ProgramData/NVIDIA Corporation/OptiX SDK 3.9.0/include” -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\include" -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\include\optixu" -I"C:\ProgramData\NVIDIA Corporation\OptiX SDK 3.9.0\SDK\sutil" -I.\include -I.\CUDA_files -I…....\Utils -I…....\DCS\src\wideband_utilities\signal_processing_utilities -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -G --keep-dir x64\Debug --machine 64 -ptx -cudart shared -D_USE_MATH_DEFINES -DNOMINMAX -DCUDA_64_BIT_DEVICE_CODE --compiler-options /D_USE_MATH_DEFINES -DNVCC --disable-warnings -o x64\Debug\GRIST.cpp.obj “C:\Users\csmith\Documents\SandBox\Programs\GildedMonkey\GRIST\src\GRIST.cpp”" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========