Matlab Support for float32/single and float16/half datatypes in GPU Sparse Matrix Multiplication
5 次查看(过去 30 天)
显示 更早的评论
Is there a timeline for Matlab support for single (float32) and half (float16) datatypes for the non-zero values in GPU sparse matrices and for compatible float32/float16 gpu-accelerated sparse matrix multiplication?
This functionality exists in the underlying sparse CUDA libraries, and I believe it would be possible for users to compile their own MEX files to perform this task. However, considering the computational and memory efficiency that could be achieved by widening the functionality of sparse GPU matrices to float32/float16 non-zero values, I believe there exists a significant enough underlying demand for this functionality in Matlab to justify adding it in a future release. This is especially relevant when using very large GPU sparse matrices, which ultimately overwhelm the VRAM of most commercial GPUs.
0 个评论
采纳的回答
Mike Croucher
2025-8-13
编辑:Mike Croucher
2025-8-13
As of R2025a, single precision sparse matrices are now supported on CPU and GPU. More details available on this blog post New in MATLAB: Single precision sparse matrices » The MATLAB Blog - MATLAB & Simulink
更多回答(2 个)
Walter Roberson
2024-8-30
This is not scheduled for R2024b.
If there is a timeline, then it is not publically available.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!