git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2084 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
0ab74e3bb2
commit
3cda15b8d9
1 changed files with 4 additions and 2 deletions
|
|
@ -39,9 +39,10 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The kernel function called from the host and executed in device to compute all neighbors fitness at one time
|
* The kernel function called from the host and executed in device to compute all neighbors fitness at one time
|
||||||
|
* with linear mapping
|
||||||
* @param _eval how to evaluate each neighbor
|
* @param _eval how to evaluate each neighbor
|
||||||
* @param _solution representation of solution( vector of int,float....)
|
* @param _solution the representation of solution( vector of int,float....)
|
||||||
* @param _allFitness Array of Fitness to save all neighbors fitness
|
* @param _allFitness the array of Fitness to save all neighbors fitness
|
||||||
* @param _fitness the current solution fitness
|
* @param _fitness the current solution fitness
|
||||||
* @param _neighborhoodsize the size of the neighborhood
|
* @param _neighborhoodsize the size of the neighborhood
|
||||||
*/
|
*/
|
||||||
|
|
@ -166,6 +167,7 @@ __global__ void kernelKswap(IncrementEval _eval,EOT _solution ,EOT _sol_tmp, Fit
|
||||||
_allFitness[id]=tmp_fitness;
|
_allFitness[id]=tmp_fitness;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue