mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 04:52:29 +00:00
Further attempt at resolving OpenBLAS OS X travis issue.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user