這是一個相當simple & naive的方法,幾行代碼完成的CSR稀疏矩陣格式的優化,剔除0元素。由於目前AMD的OpenCL SDK依舊沒有趕上NVIDIA CUDA SDK的進度——新的CUDA 4我認為在庫的豐富程度上以及易用上已經遠遠的超過了AMD的實現。雖然如此,今后還是得希望開源社區能夠貢獻基於OpenCL的數學庫,或者我自己搞一個?
This is a rare simple & naive method which is used to optimize sparse matrix, cull the all zero elements. I think the AMD’s OpenCL libraries is stil not as good as NVIDIA CUDA’s. Whatever, I wish there would be some mathmatics libraries from open source society, or I make one in person ?