clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 61 forks source link

Adding Compensated Summation to SpM-DV #124

Closed jlgreathouse closed 9 years ago

jlgreathouse commented 9 years ago

Fixes Issue #109

This patch is an overarching solution to both Issue #109 as well as a feature enhancement that allows users to optionally compute SpM-DV using compensated summation.

See closed PR #123 for more details.

kknox commented 9 years ago

@jlgreathouse Looks like clang has a problem with the printf syntax (not portable). Checking in a new commit to the branch [ jlgreathouse:newer_adaptive_squash ] will cause Travis to kick off a new build test. It will tell you when it can successfully build.

jlgreathouse commented 9 years ago

Done. Changed printf over to appropriately configured couts. The PRIu64 mechanism should be the C99 portable way of printing data of the right size for uint types (I think I forgot to include inttypes.h, so clang failed). However, MSVC doesn't support C99 properly, so C++ mechanisms it is.