mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
Register Blit CSR to CommandQueue
Change-Id: Ib22ef934492b702990ca549bab576993b0684e98 Related-To: NEO-3020 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e4e5b5ccdf
commit
23e9e9e02e
@@ -71,6 +71,9 @@ CommandQueue::CommandQueue(Context *context, Device *deviceId, const cl_queue_pr
|
||||
if (getGpgpuCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
||||
timestampPacketContainer = std::make_unique<TimestampPacketContainer>();
|
||||
}
|
||||
if (device->getExecutionEnvironment()->getHardwareInfo()->capabilityTable.blitterOperationsSupported) {
|
||||
bcsEngine = &device->getEngine(aub_stream::EngineType::ENGINE_BCS, false);
|
||||
}
|
||||
}
|
||||
|
||||
processProperties(properties);
|
||||
@@ -107,6 +110,13 @@ CommandStreamReceiver &CommandQueue::getGpgpuCommandStreamReceiver() const {
|
||||
return *gpgpuEngine->commandStreamReceiver;
|
||||
}
|
||||
|
||||
CommandStreamReceiver *CommandQueue::getBcsCommandStreamReceiver() const {
|
||||
if (bcsEngine) {
|
||||
return bcsEngine->commandStreamReceiver;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
uint32_t CommandQueue::getHwTag() const {
|
||||
uint32_t tag = *getHwTagAddress();
|
||||
return tag;
|
||||
|
||||
Reference in New Issue
Block a user