You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are the templates for CUDA int methods not provided in ViennaCL? I am getting many errors, such as the following, during some compilation.
/usr/local/lib/R/site-library/RViennaCL/include/viennacl/linalg/cuda/matrix_operations_row.hpp(1013): error: calling a __host__ function("std::sqrt<int> ") from a __global__ function("viennacl::linalg::cuda::matrix_row_unary_element_op_kernel< ::viennacl::op_sqrt, int> ") is not allowed
/usr/local/lib/R/site-library/RViennaCL/include/viennacl/linalg/cuda/matrix_operations_col.hpp(983): error: calling a __host__ function("std::sqrt<int> ") from a __global__ function("viennacl::linalg::cuda::matrix_col_unary_element_op_kernel< ::viennacl::op_sqrt, int> ") is not allowed
/usr/local/lib/R/site-library/RViennaCL/include/viennacl/linalg/cuda/matrix_operations_row.hpp(1013): error: calling a __host__ function("std::sin<int> ") from a __global__ function("viennacl::linalg::cuda::matrix_row_unary_element_op_kernel< ::viennacl::op_sin, int> ") is not allowed
Several more are omitted for the sake of space. Basically all the blas 1 methods.
I see the macro VIENNACL_CUDA_GENERATE_UNARY_OP in the viennacl/linalg/cuda/common.hpp file but I fail to see what dictates whether it generates a different type when all the blas 1 methods are provided for the int type in OpenCL.
The text was updated successfully, but these errors were encountered:
Are the templates for CUDA
int
methods not provided in ViennaCL? I am getting many errors, such as the following, during some compilation.Several more are omitted for the sake of space. Basically all the blas 1 methods.
I see the macro
VIENNACL_CUDA_GENERATE_UNARY_OP
in the viennacl/linalg/cuda/common.hpp file but I fail to see what dictates whether it generates a different type when all the blas 1 methods are provided for theint
type in OpenCL.The text was updated successfully, but these errors were encountered: