Re: [Boost-bugs] [Boost C++ Libraries] #4431: stdint.h not available in CUDA nvcc + visual studio

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4431: stdint.h not available in CUDA nvcc + visual studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-18 17:27:20


#4431: stdint.h not available in CUDA nvcc + visual studio
------------------------------------------------+---------------------------
  Reporter: Sergey Mitsyn <svm@…> | Owner: jfalcou
      Type: Bugs | Status: new
 Milestone: Boost 1.44.0 | Component: concept_check
   Version: Boost 1.43.0 | Severity: Problem
Resolution: | Keywords: CUDA nvcc stdint.h
------------------------------------------------+---------------------------

Comment (by sven.prevrhal@…):

 You're right...The actual error without, but with a stdint.h in place
 is/was

 c:\packages\boost\include\boost-1_45\boost/integer_traits.hpp(56): error:
 enumeration value is out of "int" range
 1> detected during instantiation of class
 "boost::detail::integer_traits_base<T, min_val, max_val> [with
 T=boost::long_long_type, min_val=-9223372036854775808LL,
 max_val=9223372036854775807LL]"

 and occured, as far as I can tell during #include <boost/random.hpp> in a
 nvcc-compiled cuda file. I use nvcc flags -m64 -ccbin -use_fast_math
 -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MD " -maxrregcount=32
 -gencode=arch=compute_13,code=\"sm_13,compute_13\"
 -gencode=arch=compute_20,code=\"sm_20,compute_20\" --compile -o
 "x64\ReleaseLib\projection.cu.obj"
 "d:\projects\quattro\src\recon\src\CUDAProjector\projection.cu"

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4431#comment:10>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC