Naoki Nakatani
Naoki Nakatani
That should be a bug. But, as long as calling CBLAS, I think they work correctly, calling with TensorView might have a trouble. On Fri, Jul 18, 2014 at 6:54...
The changes looks OK, but I was wondering why the following (lines 118-120 in axpy_impl.h) doesn't work? typedef typename __traits_X::value_type __value_X; typedef typename std::conditional::type __alpha; axpy_impl::call(Nsize, static_cast(alpha), itrX, incX, itrY,...
I think this is basically not doable at compile time, unless annotation is defined by template parameter (not 100% sure). Even if it can be done by template, I guess...
For TensorBase, My idea was that "iterator" is templated in TensorBase class, and Tensor is derived from TensorBase w/ contiguous iterator. TensorBase should have the reference of storage and wrapper...
I was wondering if there's no way to detect contiguousness of slice at the compile time? probably this is true, and if so, I agree that TensorBase (or Storage should...
I think just an implementation issue, it should be checked if permutation can be replaced by CblasTrans directive before calling BLAS in btas/generic/contract.h