Skip to content
Permalink
Browse files

updated LibFlatArray

  • Loading branch information...
gentryx committed Jul 14, 2019
1 parent 021c640 commit 14b4b8f4f6d8d2f055cc47308f0db99ad83d580e
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/libflatarray/include/libflatarray/testbed/cpu_benchmark.hpp
@@ -79,7 +79,11 @@ class cpu_benchmark : public benchmark
static std::string parse_likwid_topology()
{
std::string read_buffer(100000, ' ');
#ifdef _WIN32
FILE *file = _popen("likwid-topologfy -O", "r");
#else
FILE *file = popen("likwid-topologfy -O", "r");
#endif
if (file == NULL) {
throw std::runtime_error("failed to get output from likwid-topology");
}

0 comments on commit 14b4b8f

Please sign in to comment.
You can’t perform that action at this time.