mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Add processProperties method to CommandQueue constructor
Change-Id: If5b88de5311e3ab3973e47e70a1027cd7e0e791c Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
344e92acfa
commit
7e72b16aa4
@@ -77,6 +77,8 @@ CommandQueue::CommandQueue(Context *context,
|
|||||||
commandQueueProperties = getCmdQueueProperties<cl_command_queue_properties>(properties);
|
commandQueueProperties = getCmdQueueProperties<cl_command_queue_properties>(properties);
|
||||||
flushStamp.reset(new FlushStampTracker(true));
|
flushStamp.reset(new FlushStampTracker(true));
|
||||||
|
|
||||||
|
processProperties();
|
||||||
|
|
||||||
if (device) {
|
if (device) {
|
||||||
engine = &device->getEngine(engineId);
|
engine = &device->getEngine(engineId);
|
||||||
if (getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
if (getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
||||||
|
|||||||
@@ -418,6 +418,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
|||||||
AuxTranslationDirection auxTranslationDirection);
|
AuxTranslationDirection auxTranslationDirection);
|
||||||
|
|
||||||
void obtainNewTimestampPacketNodes(size_t numberOfNodes, TimestampPacketContainer &previousNodes);
|
void obtainNewTimestampPacketNodes(size_t numberOfNodes, TimestampPacketContainer &previousNodes);
|
||||||
|
void processProperties();
|
||||||
|
|
||||||
Context *context = nullptr;
|
Context *context = nullptr;
|
||||||
Device *device = nullptr;
|
Device *device = nullptr;
|
||||||
|
|||||||
@@ -11,4 +11,6 @@ namespace OCLRT {
|
|||||||
bool processExtraTokens(Device *&device, const cl_queue_properties *property) {
|
bool processExtraTokens(Device *&device, const cl_queue_properties *property) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CommandQueue::processProperties() {}
|
||||||
} // namespace OCLRT
|
} // namespace OCLRT
|
||||||
|
|||||||
Reference in New Issue
Block a user