Updated the cuda tests to use the new GpuDevice constructor

This commit is contained in:
Benoit Steiner
2015-07-15 12:39:26 -07:00
parent e892524efe
commit 8315e025e1
3 changed files with 4 additions and 7 deletions

View File

@@ -19,7 +19,8 @@
template<int DataLayout>
static void test_full_reductions() {
Eigen::GpuDevice gpu_device;
Eigen::CudaStreamDevice stream;
Eigen::GpuDevice gpu_device(&stream);
const int num_rows = internal::random<int>(1024, 5*1024);
const int num_cols = internal::random<int>(1024, 5*1024);