diff --git a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUBitVector.h b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUBitVector.h index be50bc019..b2baa88c4 100644 --- a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUBitVector.h +++ b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUBitVector.h @@ -1,6 +1,6 @@ /* - Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 + Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012 Karima Boufaras, Thé Van LUONG diff --git a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUIntVector.h b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUIntVector.h index a6b2a88ae..1f8ba9020 100644 --- a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUIntVector.h +++ b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUIntVector.h @@ -1,6 +1,6 @@ /* - Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 + Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012 Karima Boufaras, Thé Van LUONG diff --git a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUPermutationVector.h b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUPermutationVector.h index bd3fcc4f3..34f3a12e2 100644 --- a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUPermutationVector.h +++ b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUPermutationVector.h @@ -1,6 +1,6 @@ /* - Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 + Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012 Karima Boufaras, Thé Van LUONG diff --git a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPURealVector.h b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPURealVector.h index 2a8b2bebe..ede867f4b 100644 --- a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPURealVector.h +++ b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPURealVector.h @@ -1,6 +1,6 @@ /* - Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 + Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012 Karima Boufaras, Thé Van LUONG @@ -76,7 +76,7 @@ public: */ void create() { for (unsigned i = 0; i < N; i++) - vect[i] = (float) rng.rand() / RAND_MAX; + vect[i] = N*rng.rand() /((float) RAND_MAX+1); } /** diff --git a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUVector.h b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUVector.h index d9b9afe83..82f680c0a 100644 --- a/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUVector.h +++ b/branches/ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUVector.h @@ -1,6 +1,6 @@ /* - Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2010 + Copyright (C) DOLPHIN Project-Team, INRIA Lille - Nord Europe, 2006-2012 Karima Boufaras, Thé Van LUONG