Skip to content

Commit

Permalink
Updating master branch to v0.10.1.0
Browse files Browse the repository at this point in the history
Master rebased on develop; includes a significant share of rolled up
bug fixes.  README.md updated with release notes
  • Loading branch information
Kent Knox committed Aug 9, 2016
1 parent 8b03255 commit e99032b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 28 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ deploy:
prerelease: true
draft: true
skip_cleanup: true
# This uses a personal OAuth token generated by kknox
api_key:
secure: MBkxtcfSk+4UvGRO+WRhmS86vIVzAs0LIF2sAtr/S+Ed+OdUAuhZypUsDXGWtK3mL55v9c8BZXefFfHfJqElcNmyHKwCptbCR/JiM8YBtjoy2/RW1NcJUZp+QuRlk23xPADj7QkPjv7dfrQUMitkLUXAD+uTmMe2l8gmlbhMrQqPBKhb+31FNv6Lmo6oa6GjbiGi7qjsrJc7uQjhppLam+M7BZbBALGbIqMIrb2BMDMMhBoDbb4zSKrSg3+krd3kKiCClJlK7xjIlyFXZ527ETQ+PMtIeQb0eJ3aQwa4caBRCm5BDzt8GnJ48S88EkynbQioCEE87ebcyOM7M+wfslW/Fm1Y86X5odIljkOmTNKoDvgLxc9vUCBtMyVHNIgZcToPdsrMsGxcHV+JtU3yVQVm6dnA5P/zG5bA+aBjsd7p7BdOE4fdhvZV5XRAk/wmiyWalF7hKJxHIiWAKknL+tpPDDUF+fHmDDsdf7yRDJBegNcKfw4+m19MIvLn9fbiNVCtwCAL1T4yWkIEpi4MRMDPtftmkZPbi6UwluOJUTeCeHe4en99Yu2haemNPqXs6rR0LlXGk31GQwzlrNfb+94F5tT2a4Ka4PsruA2NMW/IYCYEE5Gu7PihVDR031Fn9cdCU9kefUgyB07rJD6q/W+ljsU0osyg7VxyfMg8rkw=
file_glob: true
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ endif()
if( POLICY CMP0048 )
cmake_policy( SET CMP0048 NEW )

project( SuperBuild.clSPARSE VERSION 0.11.0.0 )
project( SuperBuild.clSPARSE VERSION 0.10.1.0 )
else( )
project( SuperBuild.clSPARSE )

Expand All @@ -48,11 +48,11 @@ else( )
endif( )

if( NOT DEFINED SuperBuild.clSPARSE_VERSION_MINOR )
set( SuperBuild.clSPARSE_VERSION_MINOR 11 )
set( SuperBuild.clSPARSE_VERSION_MINOR 10 )
endif( )

if( NOT DEFINED SuperBuild.clSPARSE_VERSION_PATCH )
set( SuperBuild.clSPARSE_VERSION_PATCH 0 )
set( SuperBuild.clSPARSE_VERSION_PATCH 1 )
endif( )

if( NOT DEFINED SuperBuild.clSPARSE_VERSION_TWEAK )
Expand Down
29 changes: 8 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,14 @@ an OpenCL™ library implementing Sparse linear algebra routines. This proj
a collaboration between [AMD Inc.](http://www.amd.com/) and
[Vratis Ltd.](http://www.vratis.com/).

### What's new in clSPARSE **v0.10**
**This release introduces breaking API changes from the prior version**. clSPARSE is still in a beta phase, and we may need to change the API at times to increase maintainability or fix design issues. A few changes are introduced to more closely follow the recently published [Cpp Core Guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html), a strong candidate to be the coding guidelines to be used in clSPARSE. Changes are noted below.
- The API to create meta data for a csr encoded sparse matrix has changed. This is an attempt to hide the implementation details of how meta data is stored from the user. This allows the library freedom to change and iterate meta data without breaking clients.
- `clsparseCsrMetaCompute()` renamed to `clsparseCsrMetaCreate()`, to more intuitively pair with the
- New API `clsparseCsrMetaDelete()`
- A few routines changed pure 'out' parameters to be returned on the stack as structs<sup>[1](#return-tuple)</sup>
- `clsparseCreateControl()`
- `clsparseGetEvent()`
- `clsparseCreateSolverControl()`
- `clsparseCsrMetaSize()`
- A new index type has been introduced `clsparseIdx_t` to abstract the size of an index from the library interface; the only choice currently is 4 bytes. If users use this datatype for indices in their code, changing to 8-byte indices in the future should only be a recompile.
- The names of member variables in our public structs have been renamed for consistency. Before, our member variables was not consistent with camel case and underscore naming. Member variables are now standardized to use underscores, but we keep camel casing for function and struct names<sup>[2](#consistent-naming)</sup>
- `colIndices` to `col_indices`
- `rowIndices` to `row_indices`
- `rowOffsets` to `row_pointer` (renamed to pointer to remove confusion with buffer offsets for cl1.2)
- `offValues` to `off_values`
- `offColInd` to `off_col_indices`
- `offRowOff` to `off_row_pointer`
- `offValues` to `off_values`
- All samples have been changed to compile with the above changes.

### What's new in clSPARSE **v0.10.1**
- bug fix release
- Fixes for travis builds
- Fix to the matrix market reader in the cuSPARSE benchmark to synchronize with the regular MM reader
- Replace cl.hpp with cl2.hpp (thanks to arrayfire)
- Fixes for the Nvidia platform; tested 352.79
- Fixed buffer overruns in CSR-Adaptive kernels
- Fix invalid memory access on Nvidia GPUs in CSR-Adaptive SpMV kernel

## clSPARSE features
- Sparse Matrix - dense Vector multiply (SpM-dV)
Expand Down
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif()
# clSPARSE becomes the name of the project with a particular version
if( POLICY CMP0048 )
cmake_policy( SET CMP0048 NEW )
project( clSPARSE VERSION 0.11.0.0 LANGUAGES C CXX )
project( clSPARSE VERSION 0.10.1.0 LANGUAGES C CXX )
else( )
project( clSPARSE C CXX )
# Define a version for the code
Expand All @@ -46,11 +46,11 @@ else( )
endif( )

if( NOT DEFINED clSPARSE_VERSION_MINOR )
set( clSPARSE_VERSION_MINOR 11 )
set( clSPARSE_VERSION_MINOR 10 )
endif( )

if( NOT DEFINED clSPARSE_VERSION_PATCH )
set( clSPARSE_VERSION_PATCH 0 )
set( clSPARSE_VERSION_PATCH 1 )
endif( )

if( NOT DEFINED clSPARSE_VERSION_TWEAK )
Expand Down

0 comments on commit e99032b

Please sign in to comment.