summaryrefslogtreecommitdiff
path: root/tests/test_sample_cdf.cu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sample_cdf.cu')
-rw-r--r--tests/test_sample_cdf.cu16
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);
-}
-
-}