diff options
author | Stan Seibert <stan@mtrr.org> | 2011-09-19 14:36:13 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-09-19 14:36:13 -0400 |
commit | a21b05e4727403e2e061234289af9e60e6022e5a (patch) | |
tree | 7a7d4c5809c370f3e542cfc8cb0bec7c2e4f5cdc /tests/test_sample_cdf.cu | |
parent | cfecff941fc619eb7269128afc62d9c11ae78aff (diff) | |
parent | a38c56ff1e268298568077af7f03c8ac64c6fb82 (diff) | |
download | chroma-a21b05e4727403e2e061234289af9e60e6022e5a.tar.gz chroma-a21b05e4727403e2e061234289af9e60e6022e5a.tar.bz2 chroma-a21b05e4727403e2e061234289af9e60e6022e5a.zip |
merge relayout branch
Diffstat (limited to 'tests/test_sample_cdf.cu')
-rw-r--r-- | tests/test_sample_cdf.cu | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_sample_cdf.cu b/tests/test_sample_cdf.cu deleted file mode 100644 index 1401772..0000000 --- a/tests/test_sample_cdf.cu +++ /dev/null @@ -1,16 +0,0 @@ -// -*-c++-*- -#include "random.h" - -extern "C" { - -__global__ void test_sample_cdf(int offset, int ncdf, - float *cdf_x, float *cdf_y, float *out) -{ - int id = blockDim.x * blockIdx.x + threadIdx.x; - curandState s; - curand_init(0, id, offset, &s); - - out[id] = sample_cdf(&s, ncdf, cdf_x, cdf_y); -} - -} |