Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable power10 kernels other than sgemm and dgemm #705

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion kernels/power10/3/bli_i16gemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define I16_ACCUMULATE \
Expand Down Expand Up @@ -139,4 +141,5 @@ void bli_i16gemm_power10_mma_8x16
SAVE_ACC_bz(iv4sf_t, &acc6, rs_c, 8+4*rs_c);
SAVE_ACC_bz(iv4sf_t, &acc7, rs_c, 12+4*rs_c);
}
}
}
#endif // BLIS_SANDBOX_POWER10
5 changes: 4 additions & 1 deletion kernels/power10/3/bli_i16sgemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define I16S_ACCUMULATE \
Expand Down Expand Up @@ -139,4 +141,5 @@ void bli_i16sgemm_power10_mma_8x16
SAVE_ACC_bz(iv4sf_t, &acc6, rs_c, 8+4*rs_c);
SAVE_ACC_bz(iv4sf_t, &acc7, rs_c, 12+4*rs_c);
}
}
}
#endif // BLIS_SANDBOX_POWER10
3 changes: 3 additions & 0 deletions kernels/power10/3/bli_i4gemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define I4_ACCUMULATE \
Expand Down Expand Up @@ -140,3 +142,4 @@ void bli_i4gemm_power10_mma_8x16
SAVE_ACC_bz(iv4sf_t, &acc7, rs_c, 12+4*rs_c);
}
}
#endif // BLIS_SANDBOX_POWER10
3 changes: 3 additions & 0 deletions kernels/power10/3/bli_i8gemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define I8_ACCUMULATE \
Expand Down Expand Up @@ -139,3 +141,4 @@ void bli_i8gemm_power10_mma_8x16
SAVE_ACC_bz(iv4sf_t, &acc7, rs_c, 12+4*rs_c);
}
}
#endif // BLIS_SANDBOX_POWER10
5 changes: 4 additions & 1 deletion kernels/power10/3/bli_sbgemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define B_ACCUMULATE \
Expand Down Expand Up @@ -140,4 +142,5 @@ void bli_sbgemm_power10_mma_8x16
SAVE_ACC_bz(fv4sf_t, &acc7, rs_c, 12+4*rs_c);
}

}
}
#endif // BLIS_SANDBOX_POWER10
5 changes: 4 additions & 1 deletion kernels/power10/3/bli_shgemm_power10_mma.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

*/

#ifdef BLIS_SANDBOX_POWER10

#include "vector_int_macros.h"

#define H_ACCUMULATE \
Expand Down Expand Up @@ -140,4 +142,5 @@ void bli_shgemm_power10_mma_8x16
SAVE_ACC_bz(fv4sf_t, &acc7, rs_c, 12+4*rs_c);
}

}
}
#endif // BLIS_SANDBOX_POWER10
4 changes: 4 additions & 0 deletions sandbox/power10/bli_sandbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
#ifndef BLIS_SANDBOX_H
#define BLIS_SANDBOX_H

#ifndef BLIS_SANDBOX_POWER10
#define BLIS_SANDBOX_POWER10
#endif

#include "blis.h"
#include "gemm_prototypes.h"

Expand Down