Skip to content

Commit

Permalink
need to define type_check in change_signs template
Browse files Browse the repository at this point in the history
  • Loading branch information
Determan authored and Determan committed Sep 6, 2017
1 parent 4db06c9 commit 6539ed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inst/include/viennacl/linalg/svd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ namespace viennacl
viennacl::ocl::context & ctx = const_cast<viennacl::ocl::context &>(viennacl::traits::opencl_handle(matrix).context());
viennacl::ocl::kernel & kernel = ctx.get_kernel(viennacl::linalg::opencl::kernels::svd<CPU_ScalarType>::program_name(), SVD_INVERSE_SIGNS_KERNEL);

cl_device_type type_check = ctx.current_device().type();

kernel.global_work_size(0, viennacl::tools::align_to_multiple<vcl_size_t>(viennacl::traits::size1(matrix), 16));
kernel.global_work_size(1, viennacl::tools::align_to_multiple<vcl_size_t>(viennacl::traits::size2(matrix), 16));

Expand Down

0 comments on commit 6539ed0

Please sign in to comment.