clCreateCommandQueue function in my host code is deprecated and it is included from "CL/cl.h" which apparently ignore the CL_QUEUE_PROFILING_ENABLE flag in the host code. I would appreciate a solution.

My device and driver information :

latfrom: Intel Gen OCL Driver
Device: Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile
Parallel Compute Units : 20
OpenCL C version: OpenCL C 1.2 beignet 1.1.1