-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probable bug in conversion routines #177
Comments
Reuters911 has integer symmetric data, as a result in dense2csr conversion fails in the function |
Hi Kvaraga~ |
The indices are not negative, it is the values which can be negative just like in the real matrices. So we need to support integer values as well. I added the condition typeid(cl_sparseIdx_t) == typeid(T) to remove clsparseInvalidType error. |
Hi, Have you tried to run any of clSPARSE programs on CUDA device? I have GTX 660 with CUDA 7.5. It is capable to execute OpenCL 1.2 programs however when I executed any of samples I obtain following error:
|
Hi @jpola |
Just tried running clsparse binaries on NV systems, they are not working. Some are producing seg-faults and some are producing the error mentioned by @jpola . |
Since CUDA devices are now supporting OpenCL 1.2 standard, the whole flow: 2016-01-19 7:35 GMT+01:00 Kiran [email protected]:
|
I think but not sure that |
Hi @jpola kernel-cache.cpp:45: #if( BUILD_CLVERSION >= 200 ) kernel-wrap.hpp:123: #if( BUILD_CLVERSION < 200 ) |
Hi, I did some research regarding the bug.
if(matrix_is_good(coo)) I didn't foresee this situation because in CFD I haven't got such matrices Well done generalization of indices_to_offsets function can be achieved by Kuba. 2016-01-20 1:00 GMT+01:00 Kent Knox [email protected]:
|
Hey Kuba~ Kent |
The routines which will be aftected are dense_to_csr and coo_to_csr. They 2016-01-25 20:29 GMT+01:00 Kent Knox [email protected]:
|
Hi @jpola K |
Sure, I will do that. 2016-01-25 23:32 GMT+01:00 Kent Knox [email protected]:
|
test case: Reuters911.mtx. Environment: Linux 64-bit, W9100.
test-conversion routines reports failed tests:
dense_to_csr, where TypeParam = float
coo_to_csr, where TypeParam = float
csr_to_dense, where TypeParam = double
dense_to_csr, where TypeParam = double
csr_to_coo, where TypeParam = double
coo_to_csr, where TypeParam = double
We need to look at conversion routines.
The text was updated successfully, but these errors were encountered: