rindow / rindow-math-matrix

The fundamental package for scientific matrix operation
https://rindow.github.io/mathematics/
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

TypeError: a must implement interface Rindow\OpenCL\Buffer #4

Closed Kali-Zoidberg closed 1 year ago

Kali-Zoidberg commented 1 year ago

Hello, When I apply GPU acceleration and try to perform matrix multiplication, the LinearAlgebraCL class calls gemm and fails returning 'TypeError: a must implement interface Rindow\OpenCL\Buffer'. In this case 'a' is the OpenBlasBuffer. I think I've installed everything correctly and it appears that disabling gpu accel works fine. Any advice would be greatly appreciated.

Kali-Zoidberg commented 1 year ago

Nvm, resolved the error: Forgot to convert my A and B matrix using the LinearAlgebraCL object