File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
offload/plugins-nextgen/level_zero/include Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -464,9 +464,9 @@ class EventPoolTy {
464464
465465public:
466466 // / Initialize context, flags, and mutex
467- void init (ze_context_handle_t _Context , uint32_t _Flags ) {
468- Context = _Context ;
469- Flags = _Flags ;
467+ void init (ze_context_handle_t ContextIn , uint32_t FlagsIn ) {
468+ Context = ContextIn ;
469+ Flags = FlagsIn ;
470470 Mtx.reset (new std::mutex);
471471 }
472472
@@ -496,7 +496,7 @@ class StagingBufferTy {
496496 // / Number of buffers allocated together
497497 size_t Count = L0StagingBufferCount;
498498 // / Buffers increasing by Count if a new buffer is required
499- std::list <void *> Buffers;
499+ llvm::SmallVector <void *> Buffers;
500500 // / Next buffer location in the buffers
501501 size_t Offset = 0 ;
502502
@@ -533,10 +533,10 @@ class StagingBufferTy {
533533
534534 bool initialized () const { return Context != nullptr ; }
535535
536- void init (ze_context_handle_t _Context , size_t _Size , size_t _Count ) {
537- Context = _Context ;
538- Size = _Size ;
539- Count = _Count ;
536+ void init (ze_context_handle_t ContextIn , size_t SizeIn , size_t CountIn ) {
537+ Context = ContextIn ;
538+ Size = SizeIn ;
539+ Count = CountIn ;
540540 }
541541
542542 void reset () { Offset = 0 ; }
You can’t perform that action at this time.
0 commit comments