mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Move BuiltIns to ExecutionEnvironment
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
@@ -85,6 +85,8 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
deviceInfo.force32BitAddressess = value;
|
||||
}
|
||||
|
||||
BuiltIns &getBuiltIns() const;
|
||||
|
||||
CommandStreamReceiver &getCommandStreamReceiver();
|
||||
CommandStreamReceiver *peekCommandStreamReceiver();
|
||||
|
||||
@@ -195,7 +197,13 @@ inline volatile uint32_t *Device::getTagAddress() const {
|
||||
inline MemoryManager *Device::getMemoryManager() const {
|
||||
return executionEnvironment->memoryManager.get();
|
||||
}
|
||||
|
||||
inline GmmHelper *Device::getGmmHelper() const {
|
||||
return executionEnvironment->getGmmHelper();
|
||||
}
|
||||
|
||||
inline BuiltIns &Device::getBuiltIns() const {
|
||||
return *executionEnvironment->getBuiltIns();
|
||||
}
|
||||
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user