make a trial on packing GEMM kernel
This commit is contained in:
@@ -170,9 +170,21 @@ SN_MK_PROC_DECL_STD(double, 512, , fill);
|
||||
|
||||
SN_MK_PROC_DECL_STD(float, sse, , quality);
|
||||
|
||||
SN_MK_PROC_DECL_STD(float, sse, , fma_pack);
|
||||
SN_MK_PROC_DECL_STD(float, avx, , fma_pack);
|
||||
SN_MK_PROC_DECL_STD(float, 512, , fma_pack);
|
||||
/*
|
||||
* pack left matrix data to L4 buffer
|
||||
*
|
||||
* CONVENSIONS:
|
||||
*
|
||||
* buffer_1 is pointer to original colum, offset_1 is the offset to the original column, count_1 is the count can be packed
|
||||
* C# shceduler is responsible for calculating the offset and count based on the actual buffer size and matrix dimension,
|
||||
* and make sure that count_1 will not exceeds lenght of the column
|
||||
*
|
||||
* scalar pack carries column length and offset data:
|
||||
* [column length, offset, buffer requires, empty]
|
||||
*/
|
||||
SN_MK_PROC_DECL_STD(float, sse, , fma_pack_left);
|
||||
SN_MK_PROC_DECL_STD(float, avx, , fma_pack_left);
|
||||
SN_MK_PROC_DECL_STD(float, 512, , fma_pack_left);
|
||||
|
||||
SN_MK_PROC_DECL_STD(float, sse, , fma);
|
||||
SN_MK_PROC_DECL_STD(float, avx, , fma);
|
||||
@@ -183,9 +195,9 @@ SN_MK_PROC_DECL_STD(float, sse, , fma_unpack);
|
||||
SN_MK_PROC_DECL_STD(float, avx, , fma_unpack);
|
||||
SN_MK_PROC_DECL_STD(float, 512, , fma_unpack);
|
||||
|
||||
SN_MK_PROC_DECL_STD(double, sse, , fma_pack);
|
||||
SN_MK_PROC_DECL_STD(double, avx, , fma_pack);
|
||||
SN_MK_PROC_DECL_STD(double, 512, , fma_pack);
|
||||
SN_MK_PROC_DECL_STD(double, sse, , fma_pack_left);
|
||||
SN_MK_PROC_DECL_STD(double, avx, , fma_pack_left);
|
||||
SN_MK_PROC_DECL_STD(double, 512, , fma_pack_left);
|
||||
|
||||
SN_MK_PROC_DECL_STD(double, sse, , fma);
|
||||
SN_MK_PROC_DECL_STD(double, avx, , fma);
|
||||
|
||||
Reference in New Issue
Block a user