Dear Sir,

I am intresseted to test the viennacl tool and I run it succefully with my CUDA 
card gtx 760 and under Visual Studio 2015. However, when I tried to mex the 
functions with Matlab. I was able to mes two function succefully ( 
viennacl_gmres.cpp and viennacl_bicgstab.cpp). However with viennacl_cg.cpp I 
got the following error :

Error using mex
viennacl_cg.cpp
C:\ViennaCL-1.7.1\matlab\viennacl_cg.cpp(45): warning C4267: '=': conversion 
from 'size_t' to 'unsigned int', possible loss of data
C:\ViennaCL-1.7.1\matlab\viennacl_cg.cpp(48): warning C4267: '=': conversion 
from 'size_t' to 'unsigned int', possible loss of data
C:\ViennaCL-1.7.1\matlab\viennacl_cg.cpp(51): error C2660: 
'viennacl::compressed_matrix<double,1>::set': function does not take 5
arguments

Can you help me please resolving this issue, because when I turned back to the 
function "set" from compressed_matrix.hpp I found that it accepts already until 
6 parameters.

Thank you in advance.

Best regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Souhail HAGGUI
Ph.D. student, GRESCOM Res.Lab
Engineering School of Communications of Tunis (Sup'Com)
University of Carthage - Web: www.supcom.mincom.tn<http://www.supcom.mincom.tn>
mail:<mailto:[email protected]>[email protected]<mailto:[email protected]>
 / [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to