Add processProperties method to CommandQueue constructor

Change-Id: If5b88de5311e3ab3973e47e70a1027cd7e0e791c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-11-23 11:05:38 +01:00
committed by sys_ocldev
parent 344e92acfa
commit 7e72b16aa4
3 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,8 @@ CommandQueue::CommandQueue(Context *context,
commandQueueProperties = getCmdQueueProperties<cl_command_queue_properties>(properties);
flushStamp.reset(new FlushStampTracker(true));
processProperties();
if (device) {
engine = &device->getEngine(engineId);
if (getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {

View File

@ -418,6 +418,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
AuxTranslationDirection auxTranslationDirection);
void obtainNewTimestampPacketNodes(size_t numberOfNodes, TimestampPacketContainer &previousNodes);
void processProperties();
Context *context = nullptr;
Device *device = nullptr;

View File

@ -11,4 +11,6 @@ namespace OCLRT {
bool processExtraTokens(Device *&device, const cl_queue_properties *property) {
return false;
}
void CommandQueue::processProperties() {}
} // namespace OCLRT