mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
feature: introduce release helper
Related-To: NEO-7786 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
80f1e0e413
commit
171e97e71a
@@ -50,6 +50,10 @@ const RootDeviceEnvironment &ClDeviceFixture::getRootDeviceEnvironment() const {
|
||||
return pClDevice->getRootDeviceEnvironment();
|
||||
}
|
||||
|
||||
RootDeviceEnvironment &ClDeviceFixture::getMutableRootDeviceEnvironment() {
|
||||
return pClDevice->getDevice().getRootDeviceEnvironmentRef();
|
||||
}
|
||||
|
||||
template <typename HelperType>
|
||||
HelperType &ClDeviceFixture::getHelper() const {
|
||||
auto &helper = pClDevice->getRootDeviceEnvironment().getHelper<HelperType>();
|
||||
|
||||
Reference in New Issue
Block a user