intel / pti-gpu

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily
MIT License
202 stars 57 forks source link

Error when tracing workloads which use clCreateCommandQueueWithProperties #21

Open ifdu opened 2 years ago

ifdu commented 2 years ago
  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