We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f57116 commit bc0343eCopy full SHA for bc0343e
1 file changed
highs/ipm/hipo/ipm/FactorHiGHSSolver.cpp
@@ -573,6 +573,10 @@ Int FactorHiGHSSolver::setNla() {
573
return kStatusOk;
574
}
575
576
+static bool usingAppleBlas() {
577
+ return strstr(HighsExtras::blas::getInfo()->provider, "Apple") != nullptr;
578
+}
579
+
580
void FactorHiGHSSolver::setParallel() {
581
// Set parallel options
582
bool parallel_tree = false;
@@ -598,7 +602,7 @@ void FactorHiGHSSolver::setParallel() {
598
602
assert(1 == 0);
599
603
600
604
} else if (options_.parallel == kHighsChooseString) {
601
- if (strstr(HighsExtras::blas::getInfo()->provider, "Apple")) {
605
+ if (usingAppleBlas()) {
606
// Blas on Apple do not work well with parallel_node, but parallel_tree
607
// seems to always be beneficial.
608
parallel_node = false;
0 commit comments