From e99032b3d644d8b1eb97fbf50e2afae5ea1caa3b Mon Sep 17 00:00:00 2001 From: Kent Knox Date: Tue, 9 Aug 2016 15:37:20 -0500 Subject: [PATCH] Updating master branch to v0.10.1.0 Master rebased on develop; includes a significant share of rolled up bug fixes. README.md updated with release notes --- .travis.yml | 1 - CMakeLists.txt | 6 +++--- README.md | 29 ++++++++--------------------- src/CMakeLists.txt | 6 +++--- 4 files changed, 14 insertions(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index b97e56d..b640576 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 809a2ad..3792871 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) @@ -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 ) diff --git a/README.md b/README.md index 09b117a..62b89c6 100644 --- a/README.md +++ b/README.md @@ -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[1](#return-tuple) - - `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[2](#consistent-naming) - - `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) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0bdec76..aebe3ac 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 @@ -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 )