weifengliu-ssslab / Benchmark_SpMV_using_CSR5

CSR5-based SpMV on CPUs, GPUs and Xeon Phi
MIT License
95 stars 32 forks source link

Fixed issue that resulted in segmentation fault for small matrices #3

Closed janecker closed 8 years ago

janecker commented 8 years ago

The use of small matrices (matrices with a small number of partitions) on systems with a high number of threads result in segmentation fault. These changes should fix the issue.

To reproduce the issue the sherman1 matrix with a thread number of 56 can be used.