NT2 and Boost.SIMD beta 2 available
This following releases updates NT2 and Boost.SIMD libraries.10 months had past and 176 Issues have been closed since last beta release and more than 2000 commits have been issued. Boost.SIMD is heading toward API stability. We want to tackle ons ome more compile time issues before going for an actual Boost Review. Special thanks to Tim Blenchmann and Domagoj Saric for their help and suggestions throughout this development. The release Changelog is here : https://github.com/MetaScale/nt2/releases The files can be download from : http://nt2.metascale.org/downloads/ The Documentation (in progress) is here : http://nt2.metascale.org/doc/html/index.html
Le 14/10/2013 21:27, Joel Falcou a écrit :
This following releases updates NT2 and Boost.SIMD libraries.10 months had past and 176 Issues have been closed since last beta release and more than 2000 commits have been issued.
Boost.SIMD is heading toward API stability. We want to tackle ons ome more compile time issues before going for an actual Boost Review.
Special thanks to Tim Blenchmann and Domagoj Saric for their help and suggestions throughout this development.
Looks great.
However, using the simple Tutorial Hello World from the documentation on
VS 2012 (update 3) with boost 1.54 and this beta 2
#include <iostream>
#include
FWIW, there is the same issue with Xcode 5.
On Tue, Oct 15, 2013 at 10:36 AM, Olivier Tristan
Le 14/10/2013 21:27, Joel Falcou a écrit :
This following releases updates NT2 and Boost.SIMD libraries. 10 months had past and 176 Issues have been closed since last beta release and more than 2000 commits have been issued.
Boost.SIMD is heading toward API stability. We want to tackle ons ome more compile time issues before going for an actual Boost Review.
Special thanks to Tim Blenchmann and Domagoj Saric for their help and suggestions throughout this development.
Looks great.
However, using the simple Tutorial Hello World from the documentation on VS 2012 (update 3) with boost 1.54 and this beta 2
#include <iostream> #include
#include #include #include int main(int argc, const char *argv[]) { boost::simd::pack<float> res; boost::simd::pack<float> u(10); boost::simd::pack<float> r(11,11,11,11);
res = (u + r) * 2;
std::cout << res << std::endl;
return 0; }
leads to this issue:
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 59 1 test Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 6 error C2955: 'boost::simd::meta::vector_of' : use of class template requires template argument list c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 64 1 test Error 5 error C2923: 'boost::simd::meta::vector_of' : 'rtype' is not a valid template type argument for parameter 'T' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 64 1 test Error 11 error C2868: 'boost::simd::ext::implement
::splat_or_map<B>::type' : illegal syntax for using-declaration; expected qualified-name c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 10 error C2602: 'boost::simd::ext::implement ::splat_or_map<B>::type' is not a member of a base class of 'boost::simd::ext::implement ::splat_or_map<B>' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 8 error C2146: syntax error : missing ';' before identifier 'type' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 2 error C2146: syntax error : missing ';' before identifier 'rtype' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 59 1 test Error 4 error C2065: 'rtype' : undeclared identifier c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 63 1 test Error 1 error C2039: 'type' : is not a member of 'boost::dispatch::meta::result_of<Sig>' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 58 1 test Error 7 error C2039: 'type' : is not a member of 'boost::dispatch::meta::call<Sig>' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 87 1 test Something I am missing ?
Thanks,
-- Olivier TRISTAN
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
[image: UVI] http://www.uvi.net/
Olivier Tristan | Research & Development
o.tristan@uvi.net
On 15/10/13 10:36, Olivier Tristan wrote:
Looks great.
However, using the simple Tutorial Hello World from the documentation on VS 2012 (update 3) with boost 1.54 and this beta 2
#include <iostream> #include
#include #include #include int main(int argc, const char *argv[]) { boost::simd::pack<float> res; boost::simd::pack<float> u(10); boost::simd::pack<float> r(11,11,11,11);
res = (u + r) * 2;
std::cout << res << std::endl;
return 0; }
Hi, there was a breaking change in the beta 2 and the tutorial wasn't updated, not sure if we mentioned it in the changelog. Boost.SIMD moved to stronger typing rules, so since (u + r) is logically a pack<float> you cannot multiply it by an int (2), you must multiply it by a float too (2.f). So you must write res = (u + r) * 2.f; The fix has been pushed to the master branch.
leads to this issue:
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 59 1 test Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 6 error C2955: 'boost::simd::meta::vector_of' : use of class template requires template argument list c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 64 1 test Error 5 error C2923: 'boost::simd::meta::vector_of' : 'rtype' is not a valid template type argument for parameter 'T' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 64 1 test Error 11 error C2868: 'boost::simd::ext::implement
::splat_or_map<B>::type' : illegal syntax for using-declaration; expected qualified-name c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 10 error C2602: 'boost::simd::ext::implement ::splat_or_map<B>::type' is not a member of a base class of 'boost::simd::ext::implement ::splat_or_map<B>' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 8 error C2146: syntax error : missing ';' before identifier 'type' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 88 1 test Error 2 error C2146: syntax error : missing ';' before identifier 'rtype' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 59 1 test Error 4 error C2065: 'rtype' : undeclared identifier c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 63 1 test Error 1 error C2039: 'type' : is not a member of 'boost::dispatch::meta::result_of<Sig>' c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp 58 1 test Error 7 error C2039: 'type' : is not a member of 'boost::dispatch::meta::call<Sig>' c:\users\otristan\code\boost\boost\simd\operator\specific\preprocessed\common.hpp 87 1 test
Is that the full error message? It's not very explicit. Making error messages better is something we've been working on, and apparently we still have some way to go.
Le 16/10/2013 13:47, Mathias Gaunard a écrit :
Is that the full error message? It's not very explicit. Making error messages better is something we've been working on, and apparently we still have some way to go.
Nop, this was just the short version by VS 2012. Below the full error,
which I don't find very explicit either :)
The fixed version now works fine.
main.cpp
1>c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp(58):
error C2039: 'type' : is not a member of
'boost::dispatch::meta::result_of<Sig>'
1> with
1> [
1> Sig=const
boost::dispatch::functorboost::simd::tag::multiplies_ (float,int)
1> ]
1>
c:\users\otristan\code\boost\boost\dispatch\functor\meta\preprocessed\call.hpp(14)
: see reference to class template instantiation
'boost::simd::ext::implement
On 16/10/13 14:01, Olivier Tristan wrote:
Le 16/10/2013 13:47, Mathias Gaunard a écrit :
Is that the full error message? It's not very explicit. Making error messages better is something we've been working on, and apparently we still have some way to go.
Nop, this was just the short version by VS 2012. Below the full error, which I don't find very explicit either :)
The fixed version now works fine.
main.cpp 1>c:\users\otristan\code\boost\boost\simd\operator\functions\simd\common\preprocessed\map.hpp(58): error C2039: 'type' : is not a member of 'boost::dispatch::meta::result_of<Sig>' 1> with 1> [ 1> Sig=const boost::dispatch::functorboost::simd::tag::multiplies_ (float,int) 1> ]
This bit says that there is no functor
Hi Joel, Joel Falcou wrote:
This following releases updates NT2 and Boost.SIMD libraries. 10 months had past and 176 Issues have been closed since last beta release and more than 2000 commits have been issued.
Congratulations! I've been keeping tabs on this project, it looks very useful.
Boost.SIMD is heading toward API stability. We want to tackle ons ome more compile time issues before going for an actual Boost Review.
I've played with it occasionally as it's been developing. The documentation is much nicer now too. Small note: Near the bottom of http://nt2.metascale.org/doc/html/user_s_tutorials/indexing.html, the nt2 code and the matlab code appear to have been switched. I'm looking forward to trying this updated version. Thanks, Nate
participants (4)
-
Joel Falcou
-
Mathias Gaunard
-
Nathan Crookston
-
Olivier Tristan