Cool! Thanks for the report and the feedback. The change is now pushed on the development version. Have a good day.
2015-07-24 17:05 GMT-07:00 Bruno Turcksin <[email protected]>: > That worked. > > Thanks > > Bruno > > > On 07/24/2015 07:01 PM, Philippe Tillet wrote: > > Hello Bruno :) > > This is a problem in cmake/ViennaCLCommon.cmake, which sets "-arch=sm_13". > As of CUDA 7.0, sm_13 is no longer supported by NVCC > > > > https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#unsupported-features > > > *CUDA Toolkit and CUDA Driver Support for Tesla Architecture: CUDA Toolkit > and CUDA Driver no longer supports the sm_10, sm_11, sm_12, and sm_13 > architectures. As a consequence, CU_TARGET_COMPUTE_1x enum values have been > removed from the CUDA headers. * The solution is probably to comment > line99 in cmake/ViennaCLCommon.cmake, in order to let nvcc figure out the > lowest architecture supported. Please let me know if it works :) > > 2015-07-24 16:50 GMT-07:00 Bruno Turcksin <[email protected]>: > >> Hi, >> >> I am trying to compile the tutorials with CUDA support but it crashes >> with the following error: >> >> /software/easybuild/software/CUDA/7.0.28/bin/nvcc -M -D__CUDACC__ >> /scratch/user/turcksin/viennacl-dev/examples/tutorial/blas1.cu -o >> >> /scratch/user/turcksin/viennacl-dev/build/examples/tutorial/CMakeFiles/blas1-cuda.dir//blas1-cuda_generated_blas1.cu.o.NVCC-depend >> -ccbin >> >> /general/software/x86_64/easybuild/software/impi/5.0.3.048-iccifort-2015.2.164-GCC-4.9.2/intel64/bin/mpicc >> -m64 -Xcompiler ,\"-g\" -arch=sm_13 -DVIENNACL_WITH_CUDA -DNVCC >> -I/software/easybuild/software/CUDA/7.0.28/include >> -I/scratch/user/turcksin/viennacl-dev >> -I/software/easybuild/software/CUDA/7.0.28/include >> nvcc fatal : Value 'sm_13' is not defined for option 'gpu-architecture' >> CMake Error at blas1-cuda_generated_blas1.cu.o.cmake:206 (message): >> Error generating >> >> /scratch/user/turcksin/viennacl-dev/build/examples/tutorial/CMakeFiles/blas1-cuda.dir//./blas1-cuda_generated_blas1.cu.o >> >> The configuration worked fine and cmake found CUDA: >> >> Found CUDA: /software/easybuild/software/CUDA/7.0.28 (found version "7.0") >> >> Best, >> >> Bruno >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> ViennaCL-support mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/viennacl-support >> > > >
------------------------------------------------------------------------------
_______________________________________________ ViennaCL-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/viennacl-support
