Properly set OpenCL target to version 2.1

pull/442/head
Cedric Nugteren 2022-09-27 21:09:35 +02:00
parent f7db4c5d45
commit 5c608d97cd
5 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,5 +5,6 @@ stash
database.json
database_best.json
cl.hpp
opencl.hpp
src/pyclblast/dist
*.egg-info

View File

@ -24,6 +24,8 @@
// Includes the C++ OpenCL API. If not yet available, it can be found here:
// 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

View File

@ -25,6 +25,8 @@
// Includes the C++ OpenCL API. If not yet available, it can be found here:
// 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

View File

@ -25,6 +25,8 @@
// Includes the C++ OpenCL API. If not yet available, it can be found here:
// 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

View File

@ -21,6 +21,8 @@
// Includes the C++ OpenCL API. If not yet available, it can be found here:
// 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