1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

ocl: added cv::ocl::Device::isExtensionSupported() method

This commit is contained in:
Alexander Alekhin
2017-09-06 23:15:47 +03:00
committed by Alexander Alekhin
parent 597b3f4456
commit 169add5aa6
2 changed files with 29 additions and 19 deletions
@@ -91,6 +91,7 @@ public:
String name() const;
String extensions() const;
bool isExtensionSupported(const String& extensionName) const;
String version() const;
String vendorName() const;
String OpenCL_C_Version() const;
@@ -160,6 +161,7 @@ public:
uint imagePitchAlignment() const;
uint imageBaseAddressAlignment() const;
/// deprecated, use isExtensionSupported() method (probably with "cl_khr_subgroups" value)
bool intelSubgroupsSupport() const;
size_t image2DMaxWidth() const;