Skip to content

Commit fcec14d

Browse files
authored
[UR] Change names starting in _ur_ -> ur_ (#18134)
Identifiers starting with an underscore in the global scope are reserved names, so change them to not do that.
1 parent c92b2d8 commit fcec14d

31 files changed

+160
-160
lines changed

unified-runtime/source/adapters/level_zero/async_alloc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static ur_result_t enqueueUSMAllocHelper(
6464
}
6565

6666
bool UseCopyEngine = false;
67-
_ur_ze_event_list_t TmpWaitList;
67+
ur_ze_event_list_t TmpWaitList;
6868
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
6969
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
7070

@@ -206,7 +206,7 @@ ur_result_t urEnqueueUSMFreeExp(
206206
std::scoped_lock<ur_shared_mutex> lock(Queue->Mutex);
207207

208208
bool UseCopyEngine = false;
209-
_ur_ze_event_list_t TmpWaitList;
209+
ur_ze_event_list_t TmpWaitList;
210210
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
211211
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
212212

unified-runtime/source/adapters/level_zero/command_buffer.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,8 +1179,8 @@ ur_result_t urCommandBufferAppendMemBufferCopyExp(
11791179
ur_exp_command_buffer_sync_point_t *SyncPoint,
11801180
ur_event_handle_t * /*Event*/,
11811181
ur_exp_command_buffer_command_handle_t * /*Command*/) {
1182-
auto SrcBuffer = ur_cast<_ur_buffer *>(SrcMem);
1183-
auto DstBuffer = ur_cast<_ur_buffer *>(DstMem);
1182+
auto SrcBuffer = ur_cast<ur_buffer *>(SrcMem);
1183+
auto DstBuffer = ur_cast<ur_buffer *>(DstMem);
11841184

11851185
std::shared_lock<ur_shared_mutex> SrcLock(SrcBuffer->Mutex, std::defer_lock);
11861186
std::scoped_lock<std::shared_lock<ur_shared_mutex>, ur_shared_mutex> LockAll(
@@ -1215,8 +1215,8 @@ ur_result_t urCommandBufferAppendMemBufferCopyRectExp(
12151215
ur_exp_command_buffer_sync_point_t *SyncPoint,
12161216
ur_event_handle_t * /*Event*/,
12171217
ur_exp_command_buffer_command_handle_t * /*Command*/) {
1218-
auto SrcBuffer = ur_cast<_ur_buffer *>(SrcMem);
1219-
auto DstBuffer = ur_cast<_ur_buffer *>(DstMem);
1218+
auto SrcBuffer = ur_cast<ur_buffer *>(SrcMem);
1219+
auto DstBuffer = ur_cast<ur_buffer *>(DstMem);
12201220

12211221
std::shared_lock<ur_shared_mutex> SrcLock(SrcBuffer->Mutex, std::defer_lock);
12221222
std::scoped_lock<std::shared_lock<ur_shared_mutex>, ur_shared_mutex> LockAll(
@@ -1462,7 +1462,7 @@ ur_result_t urCommandBufferAppendMemBufferFillExp(
14621462
std::scoped_lock<ur_shared_mutex> Lock(Buffer->Mutex);
14631463

14641464
char *ZeHandleDst = nullptr;
1465-
_ur_buffer *UrBuffer = reinterpret_cast<_ur_buffer *>(Buffer);
1465+
ur_buffer *UrBuffer = reinterpret_cast<ur_buffer *>(Buffer);
14661466
UR_CALL(UrBuffer->getZeHandle(ZeHandleDst, ur_mem_handle_t_::write_only,
14671467
CommandBuffer->Device, nullptr, 0u));
14681468

@@ -1542,7 +1542,7 @@ ur_result_t waitForDependencies(ur_exp_command_buffer_handle_t CommandBuffer,
15421542
const bool UseCopyEngine = false;
15431543
bool MustSignalWaitEvent = true;
15441544
if (NumEventsInWaitList) {
1545-
_ur_ze_event_list_t TmpWaitList;
1545+
ur_ze_event_list_t TmpWaitList;
15461546
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
15471547
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
15481548

@@ -1636,7 +1636,7 @@ ur_result_t enqueueImmediateAppendPath(
16361636
assert(CommandListHelper->second.IsImmediate);
16371637
assert(Platform->ZeCommandListImmediateAppendExt.Supported);
16381638

1639-
_ur_ze_event_list_t UrZeEventList;
1639+
ur_ze_event_list_t UrZeEventList;
16401640
if (NumEventsInWaitList) {
16411641
UR_CALL(UrZeEventList.createAndRetainUrZeEventList(
16421642
NumEventsInWaitList, EventWaitList, Queue, false));

unified-runtime/source/adapters/level_zero/command_buffer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct command_buffer_profiling_t {
2626
ze_kernel_timestamp_result_t *Timestamps;
2727
};
2828

29-
struct ur_exp_command_buffer_handle_t_ : public _ur_object {
29+
struct ur_exp_command_buffer_handle_t_ : public ur_object {
3030
ur_exp_command_buffer_handle_t_(
3131
ur_context_handle_t Context, ur_device_handle_t Device,
3232
ze_command_list_handle_t CommandList,
@@ -149,7 +149,7 @@ struct ur_exp_command_buffer_handle_t_ : public _ur_object {
149149
CommandHandles;
150150
};
151151

152-
struct ur_exp_command_buffer_command_handle_t_ : public _ur_object {
152+
struct ur_exp_command_buffer_command_handle_t_ : public ur_object {
153153
ur_exp_command_buffer_command_handle_t_(
154154
ur_exp_command_buffer_handle_t CommandBuffer, uint64_t CommandId)
155155
: CommandBuffer(CommandBuffer), CommandId(CommandId) {}

unified-runtime/source/adapters/level_zero/common.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ struct ReferenceCounter {
256256
};
257257

258258
// Base class to store common data
259-
struct _ur_object {
260-
_ur_object() : RefCount{} {}
259+
struct ur_object {
260+
ur_object() : RefCount{} {}
261261

262262
// Must be atomic to prevent data race when incrementing/decrementing.
263263
ReferenceCounter RefCount;
@@ -284,7 +284,7 @@ struct _ur_object {
284284

285285
// Record for a memory allocation. This structure is used to keep information
286286
// for each memory allocation.
287-
struct MemAllocRecord : _ur_object {
287+
struct MemAllocRecord : ur_object {
288288
MemAllocRecord(ur_context_handle_t Context, bool OwnZeMemHandle = true)
289289
: Context(Context) {
290290
OwnNativeHandle = OwnZeMemHandle;
@@ -380,4 +380,4 @@ extern thread_local int32_t ErrorAdapterNativeCode;
380380
// Utility function for setting a message and warning
381381
[[maybe_unused]] void setErrorMessage(const char *pMessage,
382382
ur_result_t ErrorCode,
383-
int32_t AdapterErrorCode);
383+
int32_t AdapterErrorCode);

unified-runtime/source/adapters/level_zero/context.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef struct _ze_intel_event_sync_mode_exp_desc_t {
5454

5555
extern const bool UseUSMAllocator;
5656

57-
struct ur_context_handle_t_ : _ur_object {
57+
struct ur_context_handle_t_ : ur_object {
5858
ur_context_handle_t_(ze_context_handle_t ZeContext, uint32_t NumDevices,
5959
const ur_device_handle_t *Devs, bool OwnZeContext)
6060
: ZeContext{ZeContext}, Devices{Devs, Devs + NumDevices},

unified-runtime/source/adapters/level_zero/device.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct ur_ze_external_memory_data {
5656
size_t size;
5757
};
5858

59-
struct ur_device_handle_t_ : _ur_object {
59+
struct ur_device_handle_t_ : ur_object {
6060
ur_device_handle_t_(ze_device_handle_t Device, ur_platform_handle_t Plt,
6161
ur_device_handle_t ParentDevice = nullptr)
6262
: ZeDevice{Device}, Platform{Plt}, RootDevice{ParentDevice},

unified-runtime/source/adapters/level_zero/event.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "ur_interface_loader.hpp"
2222
#include "ur_level_zero.hpp"
2323

24-
void printZeEventList(const _ur_ze_event_list_t &UrZeEventList) {
24+
void printZeEventList(const ur_ze_event_list_t &UrZeEventList) {
2525
if (UrL0Debug & UR_L0_DEBUG_BASIC) {
2626
std::stringstream ss;
2727
ss << " NumEventsInWaitList " << UrZeEventList.Length << ":";
@@ -81,7 +81,7 @@ ur_result_t urEnqueueEventsWait(
8181
// Lock automatically releases when this goes out of scope.
8282
std::scoped_lock<ur_shared_mutex> lock(Queue->Mutex);
8383

84-
_ur_ze_event_list_t TmpWaitList = {};
84+
ur_ze_event_list_t TmpWaitList = {};
8585
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
8686
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
8787

@@ -198,9 +198,9 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
198198

199199
// Helper function for appending a barrier to a command list.
200200
auto insertBarrierIntoCmdList =
201-
[&Queue](ur_command_list_ptr_t CmdList,
202-
_ur_ze_event_list_t &EventWaitList, ur_event_handle_t &Event,
203-
bool IsInternal, bool InterruptBasedEventsEnabled) {
201+
[&Queue](ur_command_list_ptr_t CmdList, ur_ze_event_list_t &EventWaitList,
202+
ur_event_handle_t &Event, bool IsInternal,
203+
bool InterruptBasedEventsEnabled) {
204204
UR_CALL(createEventAndAssociateQueue(
205205
Queue, &Event, UR_COMMAND_EVENTS_WAIT_WITH_BARRIER, CmdList,
206206
IsInternal, InterruptBasedEventsEnabled));
@@ -281,7 +281,7 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
281281
if (NumEventsInWaitList || !UseMultipleCmdlistBarriers ||
282282
Queue->isInOrderQueue()) {
283283
// Retain the events as they will be owned by the result event.
284-
_ur_ze_event_list_t TmpWaitList;
284+
ur_ze_event_list_t TmpWaitList;
285285
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
286286
NumEventsInWaitList, EventWaitList, Queue, false /*UseCopyEngine=*/));
287287

@@ -377,7 +377,7 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
377377
// command-lists.
378378
std::vector<ur_event_handle_t> EventWaitVector(CmdLists.size());
379379
for (size_t I = 0; I < CmdLists.size(); ++I) {
380-
_ur_ze_event_list_t waitlist;
380+
ur_ze_event_list_t waitlist;
381381
UR_CALL(insertBarrierIntoCmdList(CmdLists[I], waitlist,
382382
EventWaitVector[I], true /*IsInternal*/,
383383
InterruptBasedEventsEnabled));
@@ -390,7 +390,7 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
390390

391391
// Create an event list. It will take ownership over all relevant events so
392392
// we relinquish ownership and let it keep all events it needs.
393-
_ur_ze_event_list_t BaseWaitList;
393+
ur_ze_event_list_t BaseWaitList;
394394
UR_CALL(BaseWaitList.createAndRetainUrZeEventList(
395395
EventWaitVector.size(),
396396
reinterpret_cast<const ur_event_handle_t *>(EventWaitVector.data()),
@@ -406,7 +406,7 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
406406
// If there is only a single queue then insert a barrier and the single
407407
// result event can be used as our active barrier and used as the return
408408
// event. Take into account whether output event is discarded or not.
409-
_ur_ze_event_list_t waitlist;
409+
ur_ze_event_list_t waitlist;
410410
UR_CALL(insertBarrierIntoCmdList(CmdLists[0], waitlist, ResultEvent,
411411
IsInternal, InterruptBasedEventsEnabled));
412412
}
@@ -743,7 +743,7 @@ ur_result_t urEnqueueTimestampRecordingExp(
743743
ur_device_handle_t Device = Queue->Device;
744744

745745
bool UseCopyEngine = false;
746-
_ur_ze_event_list_t TmpWaitList;
746+
ur_ze_event_list_t TmpWaitList;
747747
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
748748
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
749749

@@ -1438,7 +1438,7 @@ ur_result_t ur_event_handle_t_::reset() {
14381438
return UR_RESULT_SUCCESS;
14391439
}
14401440

1441-
ur_result_t _ur_ze_event_list_t::createAndRetainUrZeEventList(
1441+
ur_result_t ur_ze_event_list_t::createAndRetainUrZeEventList(
14421442
uint32_t EventListLength, const ur_event_handle_t *EventList,
14431443
ur_queue_handle_t CurQueue, bool UseCopyEngine) {
14441444
this->Length = 0;
@@ -1697,7 +1697,7 @@ ur_result_t _ur_ze_event_list_t::createAndRetainUrZeEventList(
16971697
return UR_RESULT_SUCCESS;
16981698
}
16991699

1700-
ur_result_t _ur_ze_event_list_t::insert(_ur_ze_event_list_t &Other) {
1700+
ur_result_t ur_ze_event_list_t::insert(ur_ze_event_list_t &Other) {
17011701
if (this != &Other) {
17021702
// save of the previous object values
17031703
uint32_t PreLength = this->Length;
@@ -1735,7 +1735,7 @@ ur_result_t _ur_ze_event_list_t::insert(_ur_ze_event_list_t &Other) {
17351735
return UR_RESULT_SUCCESS;
17361736
}
17371737

1738-
ur_result_t _ur_ze_event_list_t::collectEventsForReleaseAndDestroyUrZeEventList(
1738+
ur_result_t ur_ze_event_list_t::collectEventsForReleaseAndDestroyUrZeEventList(
17391739
std::list<ur_event_handle_t> &EventsToBeReleased) {
17401740
// event wait lists are owned by events, this function is called with owning
17411741
// event lock taken, hence it is thread safe

unified-runtime/source/adapters/level_zero/event.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const bool FilterEventWaitList = [] {
6868
return RetVal;
6969
}();
7070

71-
struct _ur_ze_event_list_t {
71+
struct ur_ze_event_list_t {
7272
// List of level zero events for this event list.
7373
ze_event_handle_t *ZeEventList = {nullptr};
7474

@@ -95,15 +95,15 @@ struct _ur_ze_event_list_t {
9595
bool UseCopyEngine);
9696

9797
// Add all the events in this object's UrEventList to the end
98-
// of the list EventsToBeReleased. Destroy ur_ze_event_list_t data
98+
// of the list EventsToBeReleased. Destroy ur_ze_event_list_t_t data
9999
// structure fields making it look empty.
100100
ur_result_t collectEventsForReleaseAndDestroyUrZeEventList(
101101
std::list<ur_event_handle_t> &EventsToBeReleased);
102102

103103
// Had to create custom assignment operator because the mutex is
104104
// not assignment copyable. Just field by field copy of the other
105105
// fields.
106-
_ur_ze_event_list_t &operator=(const _ur_ze_event_list_t &other) {
106+
ur_ze_event_list_t &operator=(const ur_ze_event_list_t &other) {
107107
if (this != &other) {
108108
this->ZeEventList = other.ZeEventList;
109109
this->UrEventList = other.UrEventList;
@@ -112,19 +112,19 @@ struct _ur_ze_event_list_t {
112112
return *this;
113113
}
114114

115-
// This function allows to merge two _ur_ze_event_lists
115+
// This function allows to merge two ur_ze_event_lists
116116
// The ur_ze_event_list "other" is added to the caller list.
117117
// Note that new containers are allocated to contains the additional elements.
118118
// Elements are moved to the new containers.
119119
// other list can not be used after the call to this function.
120-
ur_result_t insert(_ur_ze_event_list_t &Other);
120+
ur_result_t insert(ur_ze_event_list_t &Other);
121121

122122
bool isEmpty() const { return (this->ZeEventList == nullptr); }
123123
};
124124

125-
void printZeEventList(const _ur_ze_event_list_t &PiZeEventList);
125+
void printZeEventList(const ur_ze_event_list_t &PiZeEventList);
126126

127-
struct ur_event_handle_t_ : _ur_object {
127+
struct ur_event_handle_t_ : ur_object {
128128
ur_event_handle_t_(ze_event_handle_t ZeEvent,
129129
ze_event_pool_handle_t ZeEventPool,
130130
ur_context_handle_t Context, ur_command_t CommandType,
@@ -179,7 +179,7 @@ struct ur_event_handle_t_ : _ur_object {
179179
// signal this event. These events must be retained when the command is
180180
// enqueued, and must then be released when this event has signalled.
181181
// This list must be destroyed once the event has signalled.
182-
_ur_ze_event_list_t WaitList;
182+
ur_ze_event_list_t WaitList;
183183

184184
// Tracks if the needed cleanup was already performed for
185185
// a completed event. This allows to control that some cleanup
@@ -220,7 +220,7 @@ struct ur_event_handle_t_ : _ur_object {
220220
uint64_t RecordEventEndTimestamp = 0;
221221

222222
// Besides each PI object keeping a total reference count in
223-
// _ur_object::RefCount we keep special track of the event *external*
223+
// ur_object::RefCount we keep special track of the event *external*
224224
// references. This way we are able to tell when the event is not referenced
225225
// externally anymore, i.e. it can't be passed as a dependency event to
226226
// piEnqueue* functions and explicitly waited meaning that we can do some

unified-runtime/source/adapters/level_zero/image.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ ur_result_t bindlessImagesCreateImpl(ur_context_handle_t hContext,
204204
(hContext->ZeContext, reinterpret_cast<const void *>(hImageMem),
205205
&MemAllocProperties, nullptr));
206206
if (MemAllocProperties.type == ZE_MEMORY_TYPE_UNKNOWN) {
207-
_ur_image *UrImage = reinterpret_cast<_ur_image *>(hImageMem);
207+
ur_image *UrImage = reinterpret_cast<ur_image *>(hImageMem);
208208

209209
ZE2UR_CALL(zeImageViewCreateExt,
210210
(hContext->ZeContext, hDevice->ZeDevice, &ZeImageDesc,
@@ -429,7 +429,7 @@ ur_result_t urBindlessImagesImageCopyExp(
429429
UseCopyEngine = false;
430430
}
431431

432-
_ur_ze_event_list_t TmpWaitList;
432+
ur_ze_event_list_t TmpWaitList;
433433
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
434434
numEventsInWaitList, phEventWaitList, hQueue, UseCopyEngine));
435435

@@ -467,7 +467,7 @@ ur_result_t urBindlessImagesImageCopyExp(
467467
ze_image_region_t DstRegion;
468468
UR_CALL(getImageRegionHelper(ZeImageDesc, &pCopyRegion->dstOffset,
469469
&pCopyRegion->copyExtent, DstRegion));
470-
auto *UrImage = static_cast<_ur_image *>(pDst);
470+
auto *UrImage = static_cast<ur_image *>(pDst);
471471
const char *SrcPtr =
472472
static_cast<const char *>(pSrc) +
473473
pCopyRegion->srcOffset.z * SrcSlicePitch +
@@ -507,7 +507,7 @@ ur_result_t urBindlessImagesImageCopyExp(
507507
ze_image_region_t SrcRegion;
508508
UR_CALL(getImageRegionHelper(ZeImageDesc, &pCopyRegion->srcOffset,
509509
&pCopyRegion->copyExtent, SrcRegion));
510-
auto *UrImage = static_cast<const _ur_image *>(pSrc);
510+
auto *UrImage = static_cast<const ur_image *>(pSrc);
511511
char *DstPtr =
512512
static_cast<char *>(pDst) + pCopyRegion->dstOffset.z * DstSlicePitch +
513513
pCopyRegion->dstOffset.y * DstRowPitch +
@@ -544,8 +544,8 @@ ur_result_t urBindlessImagesImageCopyExp(
544544
ze_image_region_t SrcRegion;
545545
UR_CALL(getImageRegionHelper(ZeImageDesc, &pCopyRegion->srcOffset,
546546
&pCopyRegion->copyExtent, SrcRegion));
547-
auto *UrImageDst = static_cast<_ur_image *>(pDst);
548-
auto *UrImageSrc = static_cast<const _ur_image *>(pSrc);
547+
auto *UrImageDst = static_cast<ur_image *>(pDst);
548+
auto *UrImageSrc = static_cast<const ur_image *>(pSrc);
549549
ZE2UR_CALL(zeCommandListAppendImageCopyRegion,
550550
(ZeCommandList, UrImageDst->ZeImage, UrImageSrc->ZeImage,
551551
&DstRegion, &SrcRegion, ZeEvent, WaitList.Length,
@@ -568,7 +568,7 @@ ur_result_t urBindlessImagesImageGetInfoExp(
568568
UR_RESULT_ERROR_INVALID_ENUMERATION);
569569
UR_ASSERT(pPropValue || pPropSizeRet, UR_RESULT_ERROR_INVALID_NULL_POINTER);
570570

571-
auto *UrImage = reinterpret_cast<_ur_image *>(hImageMem);
571+
auto *UrImage = reinterpret_cast<ur_image *>(hImageMem);
572572
ze_image_desc_t &Desc = UrImage->ZeImageDesc;
573573
switch (propName) {
574574
case UR_IMAGE_INFO_WIDTH:
@@ -963,7 +963,7 @@ ur_result_t urBindlessImagesWaitExternalSemaphoreExp(
963963
// We want to batch these commands to avoid extra submissions (costly)
964964
bool OkToBatch = true;
965965

966-
_ur_ze_event_list_t TmpWaitList;
966+
ur_ze_event_list_t TmpWaitList;
967967
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
968968
numEventsInWaitList, phEventWaitList, hQueue, UseCopyEngine));
969969

@@ -1047,7 +1047,7 @@ ur_result_t urBindlessImagesSignalExternalSemaphoreExp(
10471047
// We want to batch these commands to avoid extra submissions (costly)
10481048
bool OkToBatch = true;
10491049

1050-
_ur_ze_event_list_t TmpWaitList;
1050+
ur_ze_event_list_t TmpWaitList;
10511051
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
10521052
numEventsInWaitList, phEventWaitList, hQueue, UseCopyEngine));
10531053

unified-runtime/source/adapters/level_zero/kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ur_result_t urEnqueueKernelLaunch(
125125
ZE2UR_CALL(zeKernelSetGroupSize, (ZeKernel, WG[0], WG[1], WG[2]));
126126

127127
bool UseCopyEngine = false;
128-
_ur_ze_event_list_t TmpWaitList;
128+
ur_ze_event_list_t TmpWaitList;
129129
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
130130
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
131131

@@ -385,7 +385,7 @@ ur_result_t urEnqueueCooperativeKernelLaunchExp(
385385
ZE2UR_CALL(zeKernelSetGroupSize, (ZeKernel, WG[0], WG[1], WG[2]));
386386

387387
bool UseCopyEngine = false;
388-
_ur_ze_event_list_t TmpWaitList;
388+
ur_ze_event_list_t TmpWaitList;
389389
UR_CALL(TmpWaitList.createAndRetainUrZeEventList(
390390
NumEventsInWaitList, EventWaitList, Queue, UseCopyEngine));
391391

0 commit comments

Comments
 (0)