Fix prototype declarations in tracing header files.

Change-Id: I5df75f26e6ad92176df6accddebd5d1d81c5b790
Signed-off-by: davidoli <david.olien@intel.com>
This commit is contained in:
davidoli
2020-08-05 17:45:06 -07:00
parent d97db3d7dc
commit 766011ba87
3 changed files with 10 additions and 5 deletions

View File

@@ -10,7 +10,8 @@
extern "C" {
ZE_APIEXPORT ze_result_t ZE_APICALL
zeCommandQueueCreate_Tracing(ze_device_handle_t hDevice,
zeCommandQueueCreate_Tracing(ze_context_handle_t hContext,
ze_device_handle_t hDevice,
const ze_command_queue_desc_t *desc,
ze_command_queue_handle_t *phCommandQueue);

View File

@@ -75,14 +75,18 @@ zeCommandListAppendImageCopyToMemory_Tracing(ze_command_list_handle_t hCommandLi
void *dstptr,
ze_image_handle_t hSrcImage,
const ze_image_region_t *pSrcRegion,
ze_event_handle_t hEvent);
ze_event_handle_t hSignalEvent,
uint32_t numWaitEvents,
ze_event_handle_t *phWaitEvents);
ZE_APIEXPORT ze_result_t ZE_APICALL
zeCommandListAppendImageCopyFromMemory_Tracing(ze_command_list_handle_t hCommandList,
ze_image_handle_t hDstImage,
const void *srcptr,
const ze_image_region_t *pDstRegion,
ze_event_handle_t hEvent);
ze_event_handle_t hSignalEvent,
uint32_t numWaitEvents,
ze_event_handle_t *phWaitEvents);
ZE_APIEXPORT ze_result_t ZE_APICALL
zeCommandListAppendMemoryPrefetch_Tracing(ze_command_list_handle_t hCommandList,

View File

@@ -29,7 +29,7 @@ zeDeviceGetMemoryProperties_Tracing(ze_device_handle_t hDevice,
ZE_APIEXPORT ze_result_t ZE_APICALL
zeDeviceGetCacheProperties_Tracing(ze_device_handle_t hDevice,
uint32_t pCount,
uint32_t *pCount,
ze_device_cache_properties_t *pCacheProperties);
ZE_APIEXPORT ze_result_t ZE_APICALL
@@ -57,5 +57,5 @@ zeKernelSetCacheConfig_Tracing(ze_kernel_handle_t hKernel,
ZE_APIEXPORT ze_result_t ZE_APICALL
zeDeviceGetMemoryAccessProperties_Tracing(ze_device_handle_t hDevice,
ze_memory_access_cap_flags_t *pMemAccessProperties);
ze_device_memory_access_properties_t *pMemAccessProperties);
}