Hi Matt,

thanks for the catch, this is fixed here:
https://github.com/viennacl/viennacl-dev/commit/ec267fcb0a1b21529760a54d75d3d8a9ccd05e28

Best regards,
Karli


On 08/02/2014 02:11 AM, Matthew Musto wrote:
> Hey guys,
>
> I just wanted to file a bug report.
>
> The current viennacl_dev version compiled almost perfectly.  Only one
> error and of course it's related to sparse matrices.
>
> -Matt
>
> Error    4    error C2872: 'detail' : ambiguous symbol
> C:\viennacl-dev-master\viennacl-dev\viennacl\compressed_compressed_matrix.hpp
> 151    1    sparse-test-opencl
>
>
> 65>------ Build started: Project: sparse-test-opencl, Configuration:
> Release x64 ------
> 65>  Building Custom Rule
> C:/viennacl-dev-master/viennacl-dev/tests/CMakeLists.txt
> 65>  CMake does not need to re-run because
> C:\viennacl-dev-master\build\tests\CMakeFiles\generate.stamp is up-to-date.
> 65>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30501 for x64
> 65>  Copyright (C) Microsoft Corporation.  All rights reserved.
> 65>
> 65>  cl /c /I"C:\viennacl-dev-master\viennacl-dev" /I"C:\Program Files
> (x86)\AMD APP SDK\2.9\include" /IC:\boost_1_54_0
> /I"C:\viennacl-dev-master\viennacl-dev\external"
> /I"C:\viennacl-dev-master\viennacl-dev\libviennacl\include" /W3 /WX- /MP
> /O2 /Ob2 /Ot /GL /D WIN32 /D _WINDOWS /D NDEBUG /D VIENNACL_WITH_OPENCL
> /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /arch:AVX
> /fp:precise /Zc:wchar_t /Zc:forScope /GR
> /Fo"sparse-test-opencl.dir\Release\\"
> /Fd"sparse-test-opencl.dir\Release\vc120.pdb" /Gd /TP /wd4996
> /errorReport:prompt
> "C:\viennacl-dev-master\viennacl-dev\tests\src\sparse.cpp"
> 65>
> 65>  sparse.cpp
> 63>  Generating code
> 65>  Unknown compiler version - please run the configure tests and
> report the results
> 65>C:\viennacl-dev-master\viennacl-dev\viennacl/compressed_compressed_matrix.hpp(151):
> error C2872: 'detail' : ambiguous symbol
> 65>          could be 'viennacl::detail'
> 65>          or       'viennacl::ocl::detail'
> 65>
> C:\viennacl-dev-master\viennacl-dev\tests\src\sparse.cpp(449) : see
> reference to function template instantiation 'void
> viennacl::copy<boost::numeric::ublas::compressed_matrix<NumericT,boost::numeric::ublas::row_major,0x00,boost::numeric::ublas::unbounded_array<size_t,std::allocator<T>>,boost::numeric::ublas::unbounded_array<float,std::allocator<float>>>,NumericT>(const
> CPU_MATRIX &,viennacl::compressed_compressed_matrix<NumericT> &)' being
> compiled
> 65>          with
> 65>          [
> 65>              NumericT=NumericT
> 65>  ,            T=size_t
> 65>  ,
> CPU_MATRIX=boost::numeric::ublas::compressed_matrix<NumericT,boost::numeric::ublas::row_major,0x00,boost::numeric::ublas::unbounded_array<size_t,std::allocator<size_t>>,boost::numeric::ublas::unbounded_array<NumericT,std::allocator<NumericT>>>
> 65>          ]
> 65>
> C:\viennacl-dev-master\viennacl-dev\tests\src\sparse.cpp(850) : see
> reference to function template instantiation 'int
> test<NumericT,NumericT>(const Epsilon &)' being compiled
> 65>          with
> 65>          [
> 65>              Epsilon=NumericT
> 65>          ]
>
> --
> --------------------
> Matthew Musto
> [email protected] <mailto:[email protected]>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
>
>
>
> _______________________________________________
> ViennaCL-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/viennacl-devel
>


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to