Files
compute-runtime/runtime/tracing/tracing_api.h
Anton V. Gorshkov b26650c7b0 Added host-side API tracing support
Change-Id: Id473243344d76e58e326c5a1cb487c57cf5c736c
Signed-off-by: Anton V Gorshkov <anton.v.gorshkov@intel.com>
2019-06-11 08:02:58 +02:00

27 lines
755 B
C

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/tracing/tracing_types.h"
#ifdef __cplusplus
extern "C" {
#endif
cl_int CL_API_CALL clCreateTracingHandleINTEL(cl_device_id device, cl_tracing_callback callback, void *userData, cl_tracing_handle *handle);
cl_int CL_API_CALL clSetTracingPointINTEL(cl_tracing_handle handle, cl_function_id fid, cl_bool enable);
cl_int CL_API_CALL clDestroyTracingHandleINTEL(cl_tracing_handle handle);
cl_int CL_API_CALL clEnableTracingINTEL(cl_tracing_handle handle);
cl_int CL_API_CALL clDisableTracingINTEL(cl_tracing_handle handle);
cl_int CL_API_CALL clGetTracingStateINTEL(cl_tracing_handle handle, cl_bool *enable);
#ifdef __cplusplus
}
#endif