patch 0003-Fix-cl-enqueueMapSVM-for-cl-vector-and-cl-pointer.patch

This commit is contained in:
greatpanc 2021-11-23 17:15:38 +08:00
parent 66c51d44a0
commit 5bab48ede4
3 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,9 @@
%global date 2020.12.18
Name: opencl-clhpp
Version: 2.0.12
Release: 7
Release: 8
Summary: OpenCL (Open Computing Language) bind cpp header files.
License: Apache-2.0
License: Apache-2.0 MIT
URL: https://github.com/KhronosGroup/OpenCL-CLHPP
Source0: https://github.com/KhronosGroup/OpenCL-CLHPP/archive/refs/tags/v%{version}.tar.gz
Source1: https://github.com/KhronosGroup/OpenCL-Headers/archive/v%{date}.tar.gz
@ -35,6 +35,7 @@ ln -s /usr/lib64/libOpenCL.so.1 %{_builddir}/OpenCL-CLHPP-%{version}/libOpenCL.s
git apply 0001-Add_CL_DEVICE_BOARD_NAME_AMD.patch
git apply 0002-add-missing-const-to-context-properties.patch
git apply 0003-Fix-cl-enqueueMapSVM-for-cl-vector-and-cl-pointer.patch
rm -rf build
mkdir build
@ -58,6 +59,9 @@ make test
/usr/local/include/CL/cl2.hpp
%changelog
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-8
- patch 0003-Fix-cl-enqueueMapSVM-for-cl-vector-and-cl-pointer.patch
* Tue Nov 12 2021 yinchangpan <yinchangpan2@huawei.com> - v2.12.0-7
- patch 0002-add-missing-const-to-context-properties

Binary file not shown.

Binary file not shown.