viennacl / viennacl-dev

Developer repository for ViennaCL. Visit http://viennacl.sourceforge.net/ for the latest releases.
Other
281 stars 89 forks source link

NVCC crash for examples on Windows #235

Open anates opened 7 years ago

anates commented 7 years ago

I am using Windows 7 x64, Visual Studio 2015, Boost 1.64 and Cuda v8.0. When compiling the examples (target x64) I get multiple nvcc-chrashes in the projects blas3-cuda, blas2-cuda, power-iter-cuda, least-squares-cuda, matrix-range-cuda, qr-cuda, iterative-cuda, qr_method-cuda, tql2-cuda, sparse-cuda, sparse-bench-cuda, vector-range-cuda and solver-bench-cuda. As example (from blas3-cuda):

ViennaCL-1.7.1\viennacl/backend/memory.hpp(224): internal error : assertion failed at: "C:/dvs/p4/build/sw/rel/gpu_drv/r361/r361_00/drivers/compiler/edg/EDG_4.10/src/types.c", line 7537

Why? How can I fix that?

karlrupp commented 7 years ago

This looks a lot like a compiler bug in CUDA 8.0. I'll have to try and reproduce this on my testing machine to find a way to work around this problem. Any chance you can use CUDA 7.5 or 7.0?

anates commented 7 years ago

Unfortunately no, but it is not urgent at the moment for me, thus I can wait for a fix from NVidia.