Further attempt at resolving OpenBLAS OS X travis issue.

This commit is contained in:
Tadas Baltrusaitis
2018-05-08 21:46:42 +01:00
parent 53018d09b5
commit 07dffbb960
3 changed files with 3 additions and 3 deletions

View File

@@ -329,7 +329,7 @@ void CCNF_patch_expert::Read(ifstream &stream, std::vector<int> window_sizes, st
}
// In case we are using OpenBLAS, make sure it is not multi-threading as we are multi-threading outside of it
goto_set_num_threads(1);
//goto_set_num_threads(1);
openblas_set_num_threads(1);
int n_sigmas = window_sizes.size();

View File

@@ -91,7 +91,7 @@ void CEN_patch_expert::Read(ifstream &stream)
{
// Setting up OpenBLAS
goto_set_num_threads(1);
//goto_set_num_threads(1);
openblas_set_num_threads(1);
// Sanity check

View File

@@ -285,7 +285,7 @@ void CNN::ClearPrecomp()
void CNN::Read(const string& location)
{
goto_set_num_threads(1);
//goto_set_num_threads(1);
openblas_set_num_threads(1);
ifstream cnn_stream(location, ios::in | ios::binary);