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/utilities/utilities.hpp | |
parent | 9cbffc9b7cbcfa6d6c8a048c45c1ad52d22effb3 (diff) |
Added a function to set the OpenCL kernel standard, either 1.1 or 1.2
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r-- | src/utilities/utilities.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index 23486d35..b66df118 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -375,6 +375,10 @@ std::string GetDeviceName(const Device& device); // ================================================================================================= +void SetOpenCLKernelStandard(const Device &device, std::vector<std::string> &options); + +// ================================================================================================= + // Solve Bezout's identity // a * p + b * q = r = GCD(a, b) void EuclidGCD(int a, int b, int &p, int &q, int &r); |