git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2136 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
87dd3eaa92
commit
8e784763cf
1 changed files with 126 additions and 126 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
ParadisEO WebSite : http://paradiseo.gforge.inria.fr
|
||||||
Contact: paradiseo-help@lists.gforge.inria.fr
|
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||||
*/
|
*/
|
||||||
#ifndef __moCudakernelEval_H
|
#ifndef __moCudakernelEval_H
|
||||||
#define __moCudakernelEval_H
|
#define __moCudakernelEval_H
|
||||||
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
||||||
|
|
||||||
__global__ void kernelEval(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
__global__ void kernelEval(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
||||||
Fitness _fitness, unsigned _neighborhoodsize) {
|
Fitness _fitness, unsigned _neighborhoodsize) {
|
||||||
|
|
||||||
// The thread identifier within a grid block's
|
// The thread identifier within a grid block's
|
||||||
|
|
@ -80,7 +80,7 @@ __global__ void kernelEval(IncrementEval _eval, EOT _solution, Fitness* _allFitn
|
||||||
|
|
||||||
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
||||||
|
|
||||||
__global__ void kernelKflip(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
__global__ void kernelKflip(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
||||||
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _Kflip) {
|
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _Kflip) {
|
||||||
|
|
||||||
// The thread identifier within a grid block's
|
// The thread identifier within a grid block's
|
||||||
|
|
@ -106,7 +106,7 @@ __global__ void kernelKflip(IncrementEval _eval, EOT _solution, Fitness* _allFit
|
||||||
//The final fitness of the Id'th neighbor
|
//The final fitness of the Id'th neighbor
|
||||||
_allFitness[id]=tmp_fitness;
|
_allFitness[id]=tmp_fitness;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
@ -126,7 +126,7 @@ __global__ void kernelKflip(IncrementEval _eval, EOT _solution, Fitness* _allFit
|
||||||
|
|
||||||
template<class EOT,class Fitness, class Neighbor, class IncrementEval>
|
template<class EOT,class Fitness, class Neighbor, class IncrementEval>
|
||||||
|
|
||||||
__global__ void kernelKswap(IncrementEval _eval,EOT _solution ,EOT _sol_tmp, Fitness* _allFitness,
|
__global__ void kernelKswap(IncrementEval _eval,EOT _solution ,EOT _sol_tmp, Fitness* _allFitness,
|
||||||
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _Kswap,unsigned _size) {
|
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _Kswap,unsigned _size) {
|
||||||
|
|
||||||
// The thread identifier within a grid block's
|
// The thread identifier within a grid block's
|
||||||
|
|
@ -182,7 +182,7 @@ __global__ void kernelKswap(IncrementEval _eval,EOT _solution ,EOT _sol_tmp, Fit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
template<class EOT, class Fitness, class Neighbor, class IncrementEval>
|
||||||
__global__ void kernelPermutation(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
__global__ void kernelPermutation(IncrementEval _eval, EOT _solution, Fitness* _allFitness,
|
||||||
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _size) {
|
Fitness _fitness, unsigned _neighborhoodsize, unsigned * _mapping,unsigned _size) {
|
||||||
|
|
||||||
// The thread identifier within a grid block's
|
// The thread identifier within a grid block's
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue