diff --git a/branches/ParadisEO-GPU/src/problems/eval/QAPIncrEval.h b/branches/ParadisEO-GPU/src/problems/eval/QAPIncrEval.h index 95afcc500..48637a668 100644 --- a/branches/ParadisEO-GPU/src/problems/eval/QAPIncrEval.h +++ b/branches/ParadisEO-GPU/src/problems/eval/QAPIncrEval.h @@ -38,7 +38,7 @@ #include /** - * Incremental Evaluation of QAP + * Parallel Incremental Evaluation of QAP */ template @@ -66,7 +66,7 @@ public: /** * Incremental evaluation of the QAP solution,function inline can be called from host or device - * @param _bitVector the solution to evaluate + * @param _sol the solution to evaluate * @param _fitness the fitness of the current solution * @param _index an array that contains a set of indexes corresponding to the current thread identifier neighbor the last element of this array contains neighborhood size */ @@ -74,21 +74,20 @@ public: inline __host__ __device__ Fitness operator() (T * _sol,Fitness _fitness, unsigned int *_index) { Fitness tmp=_fitness; - //int id = blockIdx.x * blockDim.x + threadIdx.x; + T tmp_sol[1]; /** * dev_a & dev_b are global device variable, data specific to QAP problem (flow & distance matices) * _index[i] the first position of swap * _index[i+1] the second position of swap */ -/* for(unsigned i=0;i