pti-gpu icon indicating copy to clipboard operation
pti-gpu copied to clipboard

Error when tracing workloads which use clCreateCommandQueueWithProperties

Open ifdu opened this issue 3 years ago • 0 comments

  1. A simple application that creates a queue with the following line runs fine both without and with onetrace:
cl_command_queue queue = clCreateCommandQueue(context, deviceID, 0, &status);

However if the queue is created with:

cl_command_queue_properties properties[] = {CL_QUEUE_PROPERTIES, 0, CL_QUEUE_FAMILY_INTEL, 0, CL_QUEUE_INDEX_INTEL, 0, 0};
cl_command_queue queue = clCreateCommandQueueWithProperties(context, deviceID, properties, &status);

then the application runs fine without onetrace but with onetrace it fails with error -35.

  1. Similarly when tracing https://github.com/openvinotoolkit/open_model_zoo/blob/master/demos/object_detection_demo/python/object_detection_demo.py, execution fails with:
RuntimeError: Error has occured for: Command queues builders
clCreateCommandQueueWithPropertiesINTEL error -30

ifdu avatar Oct 05 '22 18:10 ifdu