HMLP: High-performance Machine Learning Primitives
|
#include <packing.hpp>
Public Member Functions | |
virtual void | Set (T *X, size_t m, size_t n, size_t rs, size_t cs, bool trans) |
virtual void | Pack (size_t m, size_t ic, size_t ib, size_t n, size_t jc, size_t jb, TPACK *packX) |
virtual void | Unpack (size_t m, size_t ic, size_t ib, size_t n, size_t jc, size_t jb, TPACK *packX) |
Public Attributes | |
T * | X = NULL |
size_t | rs = 0 |
size_t | cs = 0 |
bool | trans = false |
![]() | |
size_t | m = 0 |
size_t | n = 0 |
end struct MatrifyableObject
|
inlinevirtual |
packX is ib-by-jb (column-majored) withd leading dimension NB
Shift by ( ic, jc ) offset
Set x_pntr to the initial position for pointer calculation
Loop over each row
Set x_pntr to the initial position for pointer calculation
Loop over each column
Implements hmlp::MatrifyableObject< NB, T, TPACK >.
|
inlinevirtual |
Shift by ( ic, jc ) offset
Set x_pntr to the initial position for pointer calculation
Loop over each row
Set x_pntr to the initial position for pointer calculation
Loop over each column
Implements hmlp::MatrifyableObject< NB, T, TPACK >.