| 1 |
/* |
| 2 |
* Copyright (C) 2020-2022 Intel Corporation |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: MIT |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
#pragma once |
| 9 |
|
| 10 |
extern "C" { |
| 11 |
|
| 12 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 13 |
zeCommandListAppendMemoryCopyTracing(ze_command_list_handle_t hCommandList, |
| 14 |
void *dstptr, |
| 15 |
const void *srcptr, |
| 16 |
size_t size, |
| 17 |
ze_event_handle_t hSignalEvent, |
| 18 |
uint32_t numWaitEvents, |
| 19 |
ze_event_handle_t *phWaitEvents); |
| 20 |
|
| 21 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 22 |
zeCommandListAppendMemoryFillTracing(ze_command_list_handle_t hCommandList, |
| 23 |
void *ptr, |
| 24 |
const void *pattern, |
| 25 |
size_t patternSize, |
| 26 |
size_t size, |
| 27 |
ze_event_handle_t hSignalEvent, |
| 28 |
uint32_t numWaitEvents, |
| 29 |
ze_event_handle_t *phWaitEvents); |
| 30 |
|
| 31 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 32 |
zeCommandListAppendMemoryCopyRegionTracing(ze_command_list_handle_t hCommandList, |
| 33 |
void *dstptr, |
| 34 |
const ze_copy_region_t *dstRegion, |
| 35 |
uint32_t dstPitch, |
| 36 |
uint32_t dstSlicePitch, |
| 37 |
const void *srcptr, |
| 38 |
const ze_copy_region_t *srcRegion, |
| 39 |
uint32_t srcPitch, |
| 40 |
uint32_t srcSlicePitch, |
| 41 |
ze_event_handle_t hSignalEvent, |
| 42 |
uint32_t numWaitEvents, |
| 43 |
ze_event_handle_t *phWaitEvents); |
| 44 |
|
| 45 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 46 |
zeCommandListAppendMemoryCopyFromContextTracing(ze_command_list_handle_t hCommandList, |
| 47 |
void *dstptr, |
| 48 |
ze_context_handle_t hContextSrc, |
| 49 |
const void *srcptr, |
| 50 |
size_t size, |
| 51 |
ze_event_handle_t hSignalEvent, |
| 52 |
uint32_t numWaitEvents, |
| 53 |
ze_event_handle_t *phWaitEvents); |
| 54 |
|
| 55 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 56 |
zeCommandListAppendImageCopyTracing(ze_command_list_handle_t hCommandList, |
| 57 |
ze_image_handle_t hDstImage, |
| 58 |
ze_image_handle_t hSrcImage, |
| 59 |
ze_event_handle_t hSignalEvent, |
| 60 |
uint32_t numWaitEvents, |
| 61 |
ze_event_handle_t *phWaitEvents); |
| 62 |
|
| 63 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 64 |
zeCommandListAppendImageCopyRegionTracing(ze_command_list_handle_t hCommandList, |
| 65 |
ze_image_handle_t hDstImage, |
| 66 |
ze_image_handle_t hSrcImage, |
| 67 |
const ze_image_region_t *pDstRegion, |
| 68 |
const ze_image_region_t *pSrcRegion, |
| 69 |
ze_event_handle_t hSignalEvent, |
| 70 |
uint32_t numWaitEvents, |
| 71 |
ze_event_handle_t *phWaitEvents); |
| 72 |
|
| 73 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 74 |
zeCommandListAppendImageCopyToMemoryTracing(ze_command_list_handle_t hCommandList, |
| 75 |
void *dstptr, |
| 76 |
ze_image_handle_t hSrcImage, |
| 77 |
const ze_image_region_t *pSrcRegion, |
| 78 |
ze_event_handle_t hSignalEvent, |
| 79 |
uint32_t numWaitEvents, |
| 80 |
ze_event_handle_t *phWaitEvents); |
| 81 |
|
| 82 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 83 |
zeCommandListAppendImageCopyFromMemoryTracing(ze_command_list_handle_t hCommandList, |
| 84 |
ze_image_handle_t hDstImage, |
| 85 |
const void *srcptr, |
| 86 |
const ze_image_region_t *pDstRegion, |
| 87 |
ze_event_handle_t hSignalEvent, |
| 88 |
uint32_t numWaitEvents, |
| 89 |
ze_event_handle_t *phWaitEvents); |
| 90 |
|
| 91 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 92 |
zeCommandListAppendMemoryPrefetchTracing(ze_command_list_handle_t hCommandList, |
| 93 |
const void *ptr, |
| 94 |
size_t size); |
| 95 |
|
| 96 |
ZE_APIEXPORT ze_result_t ZE_APICALL |
| 97 |
zeCommandListAppendMemAdviseTracing(ze_command_list_handle_t hCommandList, |
| 98 |
ze_device_handle_t hDevice, |
| 99 |
const void *ptr, |
| 100 |
size_t size, |
| 101 |
ze_memory_advice_t advice); |
| 102 |
|
| 103 |
} // extern "C" |