From ec4a86bbe3e59cb97348218f05852fda236b0592 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Sat, 18 Jun 2011 20:26:51 -0400 Subject: change curandstate array length to 100,000. gputhread.run() now correctly initializes ALL of the states. --- src/kernel.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/kernel.cu b/src/kernel.cu index a2d2d71..b7dadfa 100644 --- a/src/kernel.cu +++ b/src/kernel.cu @@ -138,7 +138,7 @@ __device__ int intersect_mesh(const float3 &origin, const float3& direction, con return triangle_index; } -__device__ curandState rng_states[1000000]; +__device__ curandState rng_states[100000]; extern "C" { -- cgit