container bindings
Posted: November 12th, 2011, 8:57 pm
outrun -- there's one thing I've been wondering about. I think we all agree that fundamentally, we are going to have operator(row,column) for the basic single-coefficient-access.At the same time, I guess we'd like to go beyond that, e.g., have a vectorization features (I recall renorm was working on that, haven't seen the updates though...?) and the (intricately connected) ability to have features like row-wise, column-wise, block-wise, etc. (possible extensions would include diagonal-wise, for instance) access (I think OOglesby) touched upon this.Some examples of possible interface (implementation in this case: Eigen):http://eigen.tuxfamily.org/dox-devel/Tu ... ing.htmlAn interesting application is that of vectorized PDE stencil in Intel Array Building Blocks (ArBB):http://software.intel.com/en-us/article ... ut2.htmsee the Zhang's post here: http://software.intel.com/en-us/forums/ ... o=a&s=lrDo we plan to support something like that?I've been wondering myself what would be a good interface if we were to provide a thin, generic wrapper that would (statically) dispatch the ops to user-selected libs like Eigen.Thoughts / ideas / suggestions / comments?