git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2065 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
boufaras 2011-01-11 16:11:50 +00:00
commit accc1591bf

View file

@ -1,5 +1,5 @@
//Init the number of threads per block //Init the number of threads per block
#define BLOCK_SIZE 128 #define BLOCK_SIZE 64
#include <iostream> #include <iostream>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
@ -200,8 +200,8 @@ int main(int argc, char **argv)
timer.stop(); timer.stop();
printf("CUDA execution time = %f ms\n",timer.getTime()); printf("CUDA execution time = %f ms\n",timer.getTime());
timer.deleteTimer(); timer.deleteTimer();
simpleHC(sol); /* simpleHC(sol);
std::cout << "final: " << sol.fitness() << std::endl; std::cout << "final: " << sol.fitness() << std::endl;*/
_data.cudaObject.free(dev_a); _data.cudaObject.free(dev_a);
_data.cudaObject.free(dev_b); _data.cudaObject.free(dev_b);