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
Thank you for replying so fast,
according to your suggestion, my program has been compiled,and I compile with nvcc, -lOpenCL is also needed.
Thank you again for your help!!!
hello,
when i add the header file like "#include "viennacl/linalg/spai.hpp" ", these errors will happen,and i don't know how fix it
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/qr.hpp(435): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/spai-dynamic.hpp(369): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/spai-dynamic.hpp(451): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/spai-dynamic.hpp(543): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/spai.hpp(309): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/detail/spai/spai.hpp(539): error: class "viennacl::context" has no member "opencl_context"
/usr/local/cuda-9.0/bin/..//include/viennacl/linalg/spai.hpp(141): error: namespace "viennacl::traits" has no member "opencl_handle"
environment :ubuntu, cuda 9.0, opencl 1.2
The text was updated successfully, but these errors were encountered: