Page 1 of 1

does cblas level 3 support integer data?

PostPosted: Thu Jan 04, 2007 6:05 pm
by mpakala
Hi

I was wondering if I can use matrices with integer data with CBLAS level 3 routines. Is it possible to do this? If so, how ? Please let me know.


thanks
kiran

PostPosted: Thu Jan 04, 2007 6:09 pm
by Julien Langou
No way. You need to convert the input data to floating-point representation. Julien.

PostPosted: Thu Jan 04, 2007 6:18 pm
by mpakala
hi julien

thanks..so i can type cast the int to a higher data type i.e. supported by cblas??

regards

kiran

PostPosted: Thu Jan 04, 2007 6:24 pm
by Julien Langou
Yep you cast your int matrix element by element in double (or single) format. Then you call CBLAS and the output will be double (or single), then you cast back to int. There is no igemm :) in the BLAS.