onerow: activate OpenMP
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
add_executable(onerow-benchmark.run src/main.cpp)
|
||||
target_link_libraries (onerow-benchmark.run LINK_PUBLIC qxx_static onerow_static m pthread ${GMP_LIBRARIES} ${CPLEX_LIBRARIES})
|
||||
target_link_libraries (onerow-benchmark.run LINK_PUBLIC
|
||||
qxx_static
|
||||
onerow_static
|
||||
m
|
||||
pthread
|
||||
${GMP_LIBRARIES}
|
||||
${CPLEX_LIBRARIES}
|
||||
${OpenMP_LIBRARIES})
|
||||
|
||||
@@ -98,6 +98,8 @@ int main(int argc, char **argv)
|
||||
|
||||
Stats::set_input_filename(string(input_filename));
|
||||
|
||||
time_printf("Using OpenMP (%d threads)\n", omp_get_max_threads());
|
||||
|
||||
// reads input file
|
||||
time_printf("Reading input file: %s...\n", input_filename);
|
||||
status = CPXreadcopyprob(env, lp, input_filename, NULL);
|
||||
|
||||
Reference in New Issue
Block a user