mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
Allow Device creating multiple CSRs [6/n]
- Introduce default Engine query - Improve Deferred Deleter usage - Remove Tag Allocation from Device Change-Id: Iaa88d8dc0166325acf9a157dcd2217ea408ee285 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
3e800d55e6
commit
0131e66a70
@@ -77,14 +77,14 @@ CommandQueue::CommandQueue(Context *context,
|
||||
commandQueueProperties = getCmdQueueProperties<cl_command_queue_properties>(properties);
|
||||
flushStamp.reset(new FlushStampTracker(true));
|
||||
|
||||
processProperties();
|
||||
|
||||
if (device) {
|
||||
engine = &device->getEngine(engineId);
|
||||
engine = &device->getDefaultEngine();
|
||||
if (getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
||||
timestampPacketContainer = std::make_unique<TimestampPacketContainer>();
|
||||
}
|
||||
}
|
||||
|
||||
processProperties();
|
||||
}
|
||||
|
||||
CommandQueue::~CommandQueue() {
|
||||
|
||||
Reference in New Issue
Block a user