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
Hi,
I need to do complex matrix multiplication, but when I specialize the template function with "cl_float2", it passed compilation, but failed when link. The compiler complain:
undefined reference to `clblast::StatusCode clblast::GemmStridedBatched<cl_float2>....................
So, I guess this function doesn't support complex, or it's a bug.
The text was updated successfully, but these errors were encountered:
It should be supported, see the docs. There is also a C version of the function. And the C++ version is compiled here. I guess the issue is that you are using cl_float2 whereas CLBlast uses the C++ data-type std::complex<float>; instead. You can keep your OpenCL buffers of type cl_float2, but the template argument and the value of the alpha and beta parameters should be C++ type, not the OpenCL type.
Hi,
I need to do complex matrix multiplication, but when I specialize the template function with "cl_float2", it passed compilation, but failed when link. The compiler complain:
undefined reference to `clblast::StatusCode clblast::GemmStridedBatched<cl_float2>....................
So, I guess this function doesn't support complex, or it's a bug.
The text was updated successfully, but these errors were encountered: