Eigen+BLAS -> NT2

47 views
Skip to first unread message

Domagoj Saric

unread,
Jul 10, 2016, 6:45:13 AM7/10/16
to nt2...@googlegroups.com
Hi everyone,

I've been bugging Joel privately about a project where I'm trying to
replace some preexisting BLAS+Eigen code with NT2 and am running into
problems (and/or lack of documentation), so let me bring this here to
ease the burden on Joel a bit ;)

:

* Do tables at least have move constructors/semantics?
AFAICT not but I guess I can emulate it swaps or release+'acquire' if it
exists (with the problem being the nt2 operators/functions/expressions
seem to break down if I inherit from/wrap table and view)...

* Can I make table and view use rowmajor order?
* Can I make a view assume a 'transposed layout' (i.e. like the
CblasTrans GEMM parameter behaviour)?
* How can I perform a simple dot product between two vectors (single
dimension tables)? I found the mtimes function but it requires
BLAS/linalg module? And the dot function asserts that the vectors are
not of right sizes (even though they are of the same size)?
* How can I create a non-mutable view (view<table<> const>) from a
pointer and size (the constructor is missing in the const specialization)?
* Partially compile-time sized tables (i.e. vectors that strictly have
one dimension but the size of that dimension is specified at runtime)?
* Sliced/strided views are still a todo?


--
"What Huxley teaches is that in the age of advanced technology,
spiritual devastation is more likely to come from an enemy with a
smiling face than from one whose countenance exudes suspicion and hate."
Neil Postman

Reply all
Reply to author
Forward
0 new messages