From 32553eac387af38bd40bb35dac1bff48c18fb80b Mon Sep 17 00:00:00 2001 From: boufaras Date: Fri, 28 Jan 2011 16:35:14 +0000 Subject: [PATCH] git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2090 331e1502-861f-0410-8da2-ba01fb791d7f --- ParadisEO-GPU/src/eval/moCudaKswapEval.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ParadisEO-GPU/src/eval/moCudaKswapEval.h b/ParadisEO-GPU/src/eval/moCudaKswapEval.h index 084d9e73d..f41b2221b 100644 --- a/ParadisEO-GPU/src/eval/moCudaKswapEval.h +++ b/ParadisEO-GPU/src/eval/moCudaKswapEval.h @@ -88,7 +88,7 @@ public: } /** - * Compute fitness for all solution neighbors(vector of simple type) in device + * Compute fitness for all solution neighbors in device without specific mapping * @param _sol the solution which generate the neighborhood */ @@ -96,7 +96,7 @@ public: } /** - * Compute fitness for all solution neighbors in device + * Compute fitness for all solution neighbors in device with K-swap mapping * @param _sol the solution which generate the neighborhood * @param _mapping the array of mapping indexes for K-swap neighborhood * @param _Kswap the number of swap @@ -159,7 +159,6 @@ public: //Copy the result from device to host cudaMemcpy(host_FitnessArray, device_FitnessArray, neighborhoodSize * sizeof(Fitness), cudaMemcpyDeviceToHost); - } } @@ -207,6 +206,7 @@ protected: T * vect; bool mutex_kswap; bool mutex; + }; #endif