Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/FBGEMM.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJianyu Huang <jianyu.huang@utexas.edu>2018-11-09 21:49:53 +0300
committerGitHub <noreply@github.com>2018-11-09 21:49:53 +0300
commitb7ac2d00c090b149fdf04f2f86237c741dbc0c43 (patch)
tree4d4c1b8c37761aef44d6f1c7c195b1b2a5e11663 /src/PackMatrix.cc
parent428a0b6cede232eb5c4e9c3bbd8e9d74d8e34500 (diff)
parent9974e924cb035804591f1bbb4b71684b2c19e4aa (diff)
Merge pull request #4 from jamesr66a/fix_isa
Fix use of isA
Diffstat (limited to 'src/PackMatrix.cc')
-rw-r--r--src/PackMatrix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PackMatrix.cc b/src/PackMatrix.cc
index fd4c766..b8b8388 100644
--- a/src/PackMatrix.cc
+++ b/src/PackMatrix.cc
@@ -29,7 +29,7 @@ PackMatrix<PT, inpType, accType>::PackMatrix(
template <typename PT, typename inpType, typename accType>
int PackMatrix<PT, inpType, accType>::packedBufferSize(int rows, int cols) {
if (cpuinfo_has_x86_avx512f()) {
- if (isA) {
+ if (isA()) {
return PackingTraits<inpType, accType, inst_set_t::avx512>::MCB *
PackingTraits<inpType, accType, inst_set_t::avx512>::KCB;
} else {
@@ -39,7 +39,7 @@ int PackMatrix<PT, inpType, accType>::packedBufferSize(int rows, int cols) {
(((cols + colBlock - 1) / colBlock) * colBlock);
}
} else if (cpuinfo_has_x86_avx2()) {
- if (isA) {
+ if (isA()) {
return PackingTraits<inpType, accType, inst_set_t::avx2>::MCB *
PackingTraits<inpType, accType, inst_set_t::avx2>::KCB;
} else {