Hi,
with ViennaCL 1.1.1 it's not directly possible. Integer types (vector<>, matrix<>, etc.) will be provided with ViennaCL 1.2.0, which is to be released in May.
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
we decided to release version 1.1.2 now instead of version 1.2.0. Since 1.1.2 is essentially a polishing of features available in 1.1.1, there are no vector<int> available in 1.1.2. Version 1.2.0 will be released during summer 2011, thus I'm sorry to ask you for a little more patience…
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can I declare 2 viennacl::matrix<int>es and run linalg::cuda::prod_impl (matmul) on them and expect a correct answer, as of v1.7.1 ?
I went through the source, and there seems to be a limitation on the datatypes only when prod is accessed through the BLAS like APIs, i.e.ViennaCLgemm and ViennaCLCUDAgemm_impl. I'm not 100% sure as I have not perused the code.
Thanks !
Last edit: Sanjay 2017-08-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yes, sparse matrix-vector and sparse matrix-matrix products should also work for integers.
The nightly tests don't cover the integer cases for reasons of compilation time. If you run into problems, please let us know and we will fix it for the upcoming 1.8.0 release.
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I had read documentation but I didn't find anything about creating vectors of integers. Is it possible?
Hi,
with ViennaCL 1.1.1 it's not directly possible. Integer types (vector<>, matrix<>, etc.) will be provided with ViennaCL 1.2.0, which is to be released in May.
Best regards,
Karli
Thank you for reply. I'll wait for the next version.
Hi kszyh,
we decided to release version 1.1.2 now instead of version 1.2.0. Since 1.1.2 is essentially a polishing of features available in 1.1.1, there are no vector<int> available in 1.1.2. Version 1.2.0 will be released during summer 2011, thus I'm sorry to ask you for a little more patience…
Best regards,
Karli
Hello Karl,
Can I declare 2
viennacl::matrix<int>
es and runlinalg::cuda::prod_impl
(matmul) on them and expect a correct answer, as of v1.7.1 ?I went through the source, and there seems to be a limitation on the datatypes only when
prod
is accessed through the BLAS like APIs, i.e.ViennaCLgemm
andViennaCLCUDAgemm_impl
. I'm not 100% sure as I have not perused the code.Thanks !
Last edit: Sanjay 2017-08-03
Hi Sanjay,
yes, sparse matrix-vector and sparse matrix-matrix products should also work for integers.
The nightly tests don't cover the integer cases for reasons of compilation time. If you run into problems, please let us know and we will fix it for the upcoming 1.8.0 release.
Best regards,
Karli