gpu support single sparse matrix?
4 ビュー (過去 30 日間)
古いコメントを表示
I can't create a single-precision sparse matrix on the GPU. Does version 2017a allow that yet?
0 件のコメント
採用された回答
Joss Knight
2017 年 3 月 15 日
You can't create a single-precision sparse matrix on the CPU either, so the answer is no, this is not supported. Do you have an application in mind?
7 件のコメント
Thomas Richner
2019 年 7 月 3 日
2 years later and I still miss seriously miss single and half precision sparse every day. Sad. It isn't only about memory savings--the single precision compute performance of a nvidia 1080 ti is 10x that of double precision.
I'm hoping that with deep nerual nets gaining traction in Matlab, they might find reason to implement single and half precision sparse arrays. Pytorch has these.
Until then I'm left either converting back and forth between double and single (which is slow) or running entirely with double with smaller simulations.
その他の回答 (1 件)
Mike Croucher
2025 年 8 月 13 日
Single Sparse is now supported, starting with R2025a on both the CPU and GPU. A detailed write up, including performance benchmarks, can be found at New in MATLAB: Single precision sparse matrices » The MATLAB Blog - MATLAB & Simulink
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!