diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2019-05-11 20:39:00 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2019-05-11 20:39:00 +0200 |
commit | af6a9eedd118b0e3d7f1a2098c10ff90b27b5d0e (patch) | |
tree | a5644ea6de5a2b72772238d35741072c5db54486 /src/clpp11.hpp | |
parent | 9cbffc9b7cbcfa6d6c8a048c45c1ad52d22effb3 (diff) |
Added a function to set the OpenCL kernel standard, either 1.1 or 1.2
Diffstat (limited to 'src/clpp11.hpp')
-rw-r--r-- | src/clpp11.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp index 786f7dbb..aeb14989 100644 --- a/src/clpp11.hpp +++ b/src/clpp11.hpp @@ -485,7 +485,6 @@ class Program { // Compiles the device program and checks whether or not there are any warnings/errors void Build(const Device &device, std::vector<std::string> &options) { - options.push_back("-cl-std=CL1.1"); auto options_string = std::accumulate(options.begin(), options.end(), std::string{" "}); const cl_device_id dev = device(); CheckError(clBuildProgram(program_, 1, &dev, options_string.c_str(), nullptr, nullptr)); |