P4 to Git Change 1320976 by lmoriche@lmoriche_opencl_dev on 2016/09/30 02:00:09

SWDEV-103751 - [ROCm CQE][OCLonLC][QR][G] WF 2.0 conf test "Subgroups" fails
	- Enable cl_khr_subgroups for the ROCm device.
	- Fill in info_.wavefrontWidth_ from hsa_get_agent_info

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#4 edit
This commit is contained in:
foreman
2016-09-30 02:07:13 -04:00
vanhempi 52294f7d9b
commit a6d5fb60eb
2 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
@@ -970,6 +970,13 @@ Device::populateOCLDeviceConstants()
}
}
if (HSA_STATUS_SUCCESS !=
hsa_agent_get_info(_bkendDevice,
HSA_AGENT_INFO_WAVEFRONT_SIZE,
&info_.wavefrontWidth_)) {
return false;
}
return true;
}
@@ -80,6 +80,8 @@ Settings::create(bool doublePrecision)
// Also enable AMD double precision extension?
enableExtension(ClAmdFp64);
}
enableExtension(ClKhrSubGroups);
enableExtension(ClKhrDepthImages);
supportDepthsRGB_ = true;