| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The Intel OpenCL mapping the same buffer for write access caused an error. This caused the matmul operation to fail when the same array was passed in. To fix this only the READ flag is passed into the map function instead of the READ and WRITE flags
The new getMappedPtr is now (correctly) returning a unique_ptr. This commit removes implicit conversions from unique_ptr to shared ptr.
| Back | FazBrowse Home | New Git URL |
Fixes a couple of issues with the CPU OpenCL blas functions. The batching functionality was not working correctly for righ hand side batches. The matmul function was throwing errors in case the same input was passed in. This was caused only on the Intel GPU OpenCL implementation because mapping the same buffer as a READ and WRITE mapped pointer caused an error. These issues have been fixed and the getMappedPtr is refactored to return unique_ptr instead of shared_ptr.
Fixes #1711