1. remusao
  2. BDDCPPMC

Commits

remusao  committed 05a0269

removed the flag pg

  • Participants
  • Parent commits e80bb0b
  • Branches master

Comments (0)

Files changed (2)

File CMakeLists.txt

View file
 
 set(CMAKE_CXX_FLAGS_DEBUG "-std=c++11 -pg -g")
 #set(CMAKE_CXX_FLAGS_DEBUG "-std=c++11 -Wall -W -Werror -pedantic -g")
-set(CMAKE_CXX_FLAGS "-std=c++11 -march=native -Ofast -findirect-inlining -funsafe-loop-optimizations -Wall -Wextra -pedantic -pg")
+set(CMAKE_CXX_FLAGS "-std=c++11 -march=native -Ofast -findirect-inlining -funsafe-loop-optimizations -Wall -Wextra -pedantic")
 
 #Defines subdirectory
 add_subdirectory(src/)

File src/queen.cc

View file
   nb_queens = atoi(argv[1]);
 
   if (nb_queens <= 8)
-    Bdd::initBdd(nb_queens * nb_queens, 2000000);
+    Bdd::initBdd(nb_queens * nb_queens, 2097152);
   else
     Bdd::initBdd(nb_queens * nb_queens);