Skip to content

Commit

Permalink
Merge pull request #442 from CNugteren/update_version_to_1_5_3
Browse files Browse the repository at this point in the history
Update to version 1.5.3
  • Loading branch information
CNugteren authored Sep 27, 2022
2 parents 38fa34b + e080635 commit d55840e
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 24 deletions.
8 changes: 3 additions & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
environment:
global:
CLBLAST_BUILD: "C:\\clblast\\build"
OPENCL_REGISTRY: "https://www.khronos.org/registry/cl"
OPENCL_ROOT: "C:\\dependencies\\opencl"

platform:
Expand All @@ -18,7 +17,6 @@ init:
install:
- ps: mkdir $env:OPENCL_ROOT
- ps: pushd $env:OPENCL_ROOT
- ps: $opencl_registry = $env:OPENCL_REGISTRY
# This downloads the source to the Khronos ICD library
- git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
- ps: pushd OpenCL-ICD-Loader
Expand All @@ -29,7 +27,7 @@ install:
# The cmake build files expect a directory called inc
- ps: mkdir inc/CL
- git clone https://github.com/KhronosGroup/OpenCL-Headers.git inc/CL
- ps: wget $opencl_registry/api/2.1/cl.hpp -OutFile inc/CL/cl.hpp
- ps: wget https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp -OutFile inc/CL/cl.hpp
# Switch to OpenCL 2.1 headers
- ps: pushd inc/CL
- git checkout bf0f43b # OpenCL 2.1
Expand Down Expand Up @@ -57,8 +55,8 @@ build_script:

after_build:
- ps: pushd $env:CLBLAST_BUILD
- 7z a CLBlast-1.5.2-Windows-x64.zip .\install_dir\*
- ps: mv CLBlast-1.5.2-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER
- 7z a CLBlast-1.5.3-Windows-x64.zip .\install_dir\*
- ps: mv CLBlast-1.5.3-Windows-x64.zip $env:APPVEYOR_BUILD_FOLDER

artifacts:
- path: '*.zip'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ stash
database.json
database_best.json
cl.hpp
opencl.hpp
src/pyclblast/dist
*.egg-info
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ matrix:

env:
global:
- CLBLAST_VERSION=1.5.2
- CLBLAST_VERSION=1.5.3
- CLBLAST_ROOT=${TRAVIS_BUILD_DIR}/bin/clblast
- CLBLAST_INSTALL=${TRAVIS_BUILD_DIR}/bin/CLBlast-${CLBLAST_VERSION}
- CLBLAST_TAR=CLBlast-${CLBLAST_VERSION}-${TRAVIS_OS_NAME}-x64.tar.gz
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Development version (next version)
Version 1.5.3
- Fix a correctness issue with DGEMM on SM 7.5 Turing GPUs
- Various minor fixes and enhancements
- Added tuned parameters for various devices (see doc/tuning.md)
- Update cl.hpp to the new opencl.hpp header in the samples
- Changed the complex sum routine to return the complex sum instead of the absolute complex sum.

Version 1.5.2
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
project("clblast" C CXX)
set(clblast_VERSION_MAJOR 1)
set(clblast_VERSION_MINOR 5)
set(clblast_VERSION_PATCH 2)
set(clblast_VERSION_PATCH 3)
set(clblast_VERSION "${clblast_VERSION_MAJOR}.${clblast_VERSION_MINOR}.${clblast_VERSION_PATCH}")
set(clblast_SOVERSION ${clblast_VERSION_MAJOR})

Expand Down Expand Up @@ -374,9 +374,9 @@ endif()
# This section contains all the code related to the examples
if(SAMPLES)

# Downloads the cl.hpp file from Khronos
# Downloads the opencl.hpp file from Khronos
if(OPENCL)
file(DOWNLOAD https://www.khronos.org/registry/OpenCL/api/2.1/cl.hpp ${clblast_SOURCE_DIR}/samples/cl.hpp)
file(DOWNLOAD https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp ${clblast_SOURCE_DIR}/samples/opencl.hpp)
endif()

# Adds sample programs (C++)
Expand Down
4 changes: 2 additions & 2 deletions include/clblast.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
#define PUBLIC_API
#endif

// Version numbering (v1.5.1)
// Version numbering (v1.5.3)
#define CLBLAST_VERSION_MAJOR 1
#define CLBLAST_VERSION_MINOR 5
#define CLBLAST_VERSION_PATCH 1
#define CLBLAST_VERSION_PATCH 3

namespace clblast {
// =================================================================================================
Expand Down
4 changes: 2 additions & 2 deletions include/clblast_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
#define PUBLIC_API
#endif

// Version numbering (v1.5.1)
// Version numbering (v1.5.3)
#define CLBLAST_VERSION_MAJOR 1
#define CLBLAST_VERSION_MINOR 5
#define CLBLAST_VERSION_PATCH 1
#define CLBLAST_VERSION_PATCH 3

// The C interface
#ifdef __cplusplus
Expand Down
6 changes: 4 additions & 2 deletions samples/dtrsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings

// Includes the C++ OpenCL API. If not yet available, it can be found here:
// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
#include "cl.hpp"
// https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp
#define CL_HPP_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 210
#include "opencl.hpp"

// Includes the CLBlast library
#include <clblast.h>
Expand Down
6 changes: 4 additions & 2 deletions samples/sgemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings

// Includes the C++ OpenCL API. If not yet available, it can be found here:
// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
#include "cl.hpp"
// https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp
#define CL_HPP_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 210
#include "opencl.hpp"

// Includes the CLBlast library
#include <clblast.h>
Expand Down
6 changes: 4 additions & 2 deletions samples/sgemm_batched.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings

// Includes the C++ OpenCL API. If not yet available, it can be found here:
// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
#include "cl.hpp"
// https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp
#define CL_HPP_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 210
#include "opencl.hpp"

// Includes the CLBlast library
#include <clblast.h>
Expand Down
6 changes: 4 additions & 2 deletions samples/tuning_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings

// Includes the C++ OpenCL API. If not yet available, it can be found here:
// https://www.khronos.org/registry/cl/api/1.1/cl.hpp
#include "cl.hpp"
// https://raw.githubusercontent.com/KhronosGroup/OpenCL-CLHPP/main/include/CL/opencl.hpp
#define CL_HPP_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 210
#include "opencl.hpp"

// Includes the CLBlast library
#include <clblast.h>
Expand Down
2 changes: 1 addition & 1 deletion src/pyclblast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ How to release a new version on PyPi
Following [the guide](https://packaging.python.org/tutorials/packaging-projects/), in essence doing (after changing the version number in `setup.py`):

python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository pypi dist/pyclblast-1.3.1.tar.gz
python3 -m twine upload --repository pypi dist/pyclblast-1.3.2.tar.gz
# use '__token__' as username and supply the token from your PyPi account
2 changes: 1 addition & 1 deletion src/pyclblast/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

setup(
name="pyclblast",
version="1.3.1",
version="1.3.2",
author="Cedric Nugteren",
author_email="[email protected]",
url="https://github.com/CNugteren/CLBlast/blob/master/src/pyclblast",
Expand Down

0 comments on commit d55840e

Please sign in to comment.