mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Create peekGmmHelper function in CSR
Related-To: NEO-6523 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
26221678aa
commit
a3745c28a3
@ -236,6 +236,10 @@ OSInterface *CommandStreamReceiver::getOSInterface() const {
|
||||
return executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->osInterface.get();
|
||||
}
|
||||
|
||||
GmmHelper *CommandStreamReceiver::peekGmmHelper() const {
|
||||
return executionEnvironment.rootDeviceEnvironments[rootDeviceIndex]->gmmHelper.get();
|
||||
}
|
||||
|
||||
uint64_t CommandStreamReceiver::getWorkPartitionAllocationGpuAddress() const {
|
||||
if (isStaticWorkPartitioningEnabled()) {
|
||||
return getWorkPartitionAllocation()->getGpuAddress();
|
||||
|
Reference in New Issue
Block a user