Class template for packing of matrix elements prior to matrix-matrix multiply. More...
#include <mm_kernel_inner_sse2_A.h>
Classes | |
struct | Assign_to_packed |
struct | Extract_from_packed |
Static Public Member Functions | |
template<template< typename T_ordering > class T_assign, typename T_ordering_matrix > | |
static void | exec (typename T_assign< T_ordering_matrix >::PtrType X, typename T_assign< T_ordering_matrix >::PtrTypePacked X_packed, int const rows_total_matrix, int const cols_total_matrix) |
template<typename T_ordering_matrix > | |
static void | pack (real const *const X, real *X_packed, int const rows_total_matrix, int const cols_total_matrix) |
Convenience function for assignments to packed matrix. | |
template<typename T_ordering_matrix > | |
static void | unpack (real *X, real const *const X_packed, int const rows_total_matrix, int const cols_total_matrix) |
Convenience function for extracting matrix from packed matrix. | |
Static Public Attributes | |
static int const | size_packed = T_rows * T_cols * T_repetitions |
static int const | rows = T_rows |
static int const | cols = T_cols |
Class template for packing of matrix elements prior to matrix-matrix multiply.
static void MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::exec | ( | typename T_assign< T_ordering_matrix >::PtrType | X, | |
typename T_assign< T_ordering_matrix >::PtrTypePacked | X_packed, | |||
int const | rows_total_matrix, | |||
int const | cols_total_matrix | |||
) | [inline, static] |
static void MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::pack | ( | real const *const | X, | |
real * | X_packed, | |||
int const | rows_total_matrix, | |||
int const | cols_total_matrix | |||
) | [inline, static] |
Convenience function for assignments to packed matrix.
The template argument specifies how the original (unpacked) matrix is stored (e.g. column- or rowwise)
static void MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::unpack | ( | real * | X, | |
real const *const | X_packed, | |||
int const | rows_total_matrix, | |||
int const | cols_total_matrix | |||
) | [inline, static] |
Convenience function for extracting matrix from packed matrix.
The template argument specifies how the unpacked matrix is stored (e.g. column- or rowwise)
int const MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::cols = T_cols [static] |
int const MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::rows = T_rows [static] |
int const MM_kernel_inner_sse2_A< T_real, T_reg, T_M, T_N, T_K >::Pack< T_rows, T_cols, T_ordering_kernel, T_repetitions >::size_packed = T_rows * T_cols * T_repetitions [static] |