HMLP: High-performance Machine Learning Primitives
|
#include <packing.hpp>
Public Member Functions | |
virtual void | operator() (size_t k, size_t pc, size_t pb, size_t m, size_t ic, size_t ib, T *X, TPACK *packX) |
Public Attributes | |
bool | trans = false |
size_t | ldx = 0 |
end struct unpack_ibxjb column-major matrix packing routine
|
inlinevirtual |
Loop over ib * pb of X to fill packX. Type cast from T to TPACK if necessary.
( pc, ic ) offset
( ic, pc ) offset
k | k is the number cols, pc is the col offset, pb is the packed size |
m | m is the number rows, ic is the row offset, ib is the packed size |
X | input data in type T |
packX | packed data in type TPACK |
Implements hmlp::pack_pbxib< NB, T, TPACK >.
bool hmlp::pack2D_pbxib< NB, T, TPACK >::trans = false |
structure closure, e.g. ldx