Add ClDevice function to query OCL2.1 support

Change-Id: I4a1e7def6b26241592dba4ecd4a6a6cb3bb69835
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-05-05 16:40:31 +02:00
committed by sys_ocldev
parent 1dad22a12a
commit c3ea485752
39 changed files with 136 additions and 139 deletions

View File

@ -24,7 +24,7 @@ bool TestChecks::supportsImages(const Context *pContext) {
}
bool TestChecks::supportsOcl21(const Context *pContext) {
return pContext->getDevice(0)->getEnabledClVersion() >= 21;
return pContext->getDevice(0)->areOcl21FeaturesEnabled();
}
bool TestChecks::supportsDeviceEnqueue(const ClDevice *pClDevice) {