From 1727ff92a33bf890a8a56ca4b48c36e1ffc651e5 Mon Sep 17 00:00:00 2001 From: boufaras Date: Tue, 24 Jan 2012 01:29:40 +0000 Subject: [PATCH] Update for new version git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2664 331e1502-861f-0410-8da2-ba01fb791d7f --- .../ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUBitVector.h | 2 +- .../ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUIntVector.h | 2 +- .../paradiseo-gpu/src/GPUType/moGPUPermutationVector.h | 2 +- .../ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPURealVector.h | 4 ++-- .../ParadisEO-GPU/paradiseo-gpu/src/GPUType/moGPUVector.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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