Skip to content

Commit 23fc43c

Browse files
author
Kent Knox
committed
Merge branch 'develop'
2 parents fa026dc + 4e76f46 commit 23fc43c

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ deploy:
133133
draft: true
134134
skip_cleanup: true
135135
api_key:
136-
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=
136+
secure: "Bx51QUNYPnJlkJS7D97huRxYzs26kOZst76S0uTmBWp8ZU7gAm6mY79pFbXW9mkL2r6EPX5l5p+pPOwo1kmN/eB3jicamA07oLcI0ZQw4XLxszVEiOLMNXSLFYnsee0RkVX4fu453XXOFDoQupN/JKHUtp4VReJHIiWgQPnvF3Xu7kBLGecKr9IrWV23ig+7z3oiTEO+MTIR/z9mmHnzdAf4K0Nh+9BdtI2QVuVbpRZxPRqLIakMHoYw18h2SdY44wYK+sC+AroU9QWCr5t26GJDzWdu0nrv05ChQqaC128z8+hs+jaPbx39ByBH3BxD05FrKtCO3W0O6VycHewFitrMeMCkXizDn3XzXRkw8bM8OpqFPW/++f5DqxgN+Yh9eIb2vY1QiBjaQ6VIvd/9egVILw6/cxVXlym9iNVwuO2ZG0COKMHoLP/2ZlvPbuoXYgEtZYqqUnvBHVu1SxzrABxR+Cp44McbuB2EFLHYxjA7msF/h+yilfE5e4FdD91MpjR26ASmP3rMx9xUe6h28rGgei3RXNNeF0vnMO65qwfImuUbQ3/on+KW6LlMKFptqq3Twp7wcBdh433bvsrwCW0BDP0eanWuImpS0z3reqcTJFrl0rzplpQmJAW38dcSWTI7MvlDKcMHLJMNy+2or7mIGCj1m9o9Yr6INC7W2Rg="
137137
file_glob: true
138138
file: ${CLSPARSE_ROOT}/clSPARSE-build/*.tar.gz
139139
on:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ endif()
3838
if( POLICY CMP0048 )
3939
cmake_policy( SET CMP0048 NEW )
4040

41-
project( SuperBuild.clSPARSE VERSION 0.10.1.0 )
41+
project( SuperBuild.clSPARSE VERSION 0.11.1.0 )
4242
else( )
4343
project( SuperBuild.clSPARSE )
4444

@@ -48,7 +48,7 @@ else( )
4848
endif( )
4949

5050
if( NOT DEFINED SuperBuild.clSPARSE_VERSION_MINOR )
51-
set( SuperBuild.clSPARSE_VERSION_MINOR 10 )
51+
set( SuperBuild.clSPARSE_VERSION_MINOR 11 )
5252
endif( )
5353

5454
if( NOT DEFINED SuperBuild.clSPARSE_VERSION_PATCH )

cmake/ExternalBoost.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ elseif( MSVC14 )
9191
list( APPEND Boost.Command toolset=msvc-14.0 )
9292
elseif( XCODE_VERSION )
9393
list( APPEND Boost.Command toolset=clang )
94-
elseif( DEFINED ENV{CC} )
94+
elseif( ENV{CC} )
9595
# CMake apprarently puts the full path of the compiler into CC
9696
# The user might specify a non-default gcc compiler through ENV
9797
message( STATUS "ENV{CC}=$ENV{CC}" )
98-
get_filename_component( gccToolset $ENV{CC} NAME )
98+
get_filename_component( gccToolset "$ENV{CC}" NAME )
9999

100100
# see: https://svn.boost.org/trac/boost/ticket/5917
101101
string( TOLOWER ${gccToolset} gccToolset )

cmake/ExternalGmock.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ message( STATUS "ext.gMock_Version: " ${ext.gMock_Version} )
2525
if( DEFINED ENV{GMOCK_URL} )
2626
set( ext.gMock_URL "$ENV{GMOCK_URL}" CACHE STRING "URL to download gMock from" )
2727
else( )
28-
set( ext.gMock_URL "https://googlemock.googlecode.com/files/gmock-${ext.gMock_Version}.zip" CACHE STRING "URL to download gMock from" )
28+
set( ext.gMock_URL "https://github.com/google/googletest/archive/release-${ext.gMock_Version}.zip" CACHE STRING "URL to download gMock from" )
2929
endif( )
3030
mark_as_advanced( ext.gMock_URL )
3131

@@ -91,7 +91,7 @@ endif( )
9191
ExternalProject_Add(
9292
gMock
9393
URL ${ext.gMock_URL}
94-
URL_MD5 073b984d8798ea1594f5e44d85b20d66
94+
URL_MD5 ef5e700c8a0f3ee123e2e0209b8b4961
9595
CMAKE_ARGS ${ext.gMock.cmake_args} -DCMAKE_DEBUG_POSTFIX=d
9696
BUILD_COMMAND ${ext.gMock.Make}
9797
INSTALL_COMMAND ""

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ endif()
3737
# clSPARSE becomes the name of the project with a particular version
3838
if( POLICY CMP0048 )
3939
cmake_policy( SET CMP0048 NEW )
40-
project( clSPARSE VERSION 0.10.1.0 LANGUAGES C CXX )
40+
project( clSPARSE VERSION 0.11.1.0 LANGUAGES C CXX )
4141
else( )
4242
project( clSPARSE C CXX )
4343
# Define a version for the code
@@ -46,7 +46,7 @@ else( )
4646
endif( )
4747

4848
if( NOT DEFINED clSPARSE_VERSION_MINOR )
49-
set( clSPARSE_VERSION_MINOR 10 )
49+
set( clSPARSE_VERSION_MINOR 11 )
5050
endif( )
5151

5252
if( NOT DEFINED clSPARSE_VERSION_PATCH )

src/library/internal/kernel-wrap.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ class KernelWrap
7878
assert(argCounter < kernel.getInfo<CL_KERNEL_NUM_ARGS>());
7979

8080
cl_int status = 0;
81-
status = kernel.setArg(argCounter++, sizeof(cl_mem), (const void*)val);
82-
83-
81+
status = kernel.setArg(argCounter++, sizeof(cl_mem), (const void*)&val);
8482
return *this;
8583
}
8684

0 commit comments

Comments
 (0)