OpenCL Queue Families extension 18/n

Minor tweaks: properly initialize structure, correct test name

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-03-01 11:43:13 +00:00
committed by Compute-Runtime-Automation
parent 6a543a15e1
commit 17ce62a4e8
2 changed files with 2 additions and 2 deletions

View File

@@ -365,7 +365,7 @@ void ClDevice::initializeCaps() {
const std::vector<EngineControl> &enginesInFamily = queueFamilies.at(queueFamilyIndex);
if (enginesInFamily.size() > 0) {
const auto engineGroupType = static_cast<EngineGroupType>(queueFamilyIndex);
cl_queue_family_properties_intel properties;
cl_queue_family_properties_intel properties = {};
properties.capabilities = getQueueFamilyCapabilities(engineGroupType);
properties.count = static_cast<cl_uint>(enginesInFamily.size());
properties.properties = deviceInfo.queueOnHostProperties;