@@ -511,21 +511,10 @@ namespace IGC
511
511
int Index;
512
512
};
513
513
514
- SOpenCLKernelInfo ()
515
- {
516
- m_printfBufferAnnotation = nullptr ;
517
- m_syncBufferAnnotation = nullptr ;
518
- m_startGAS = nullptr ;
519
- m_WindowSizeGAS = nullptr ;
520
- m_PrivateMemSize = nullptr ;
521
-
522
- memset (&m_threadPayload, 0 , sizeof (m_threadPayload));
523
- memset (&m_executionEnivronment, 0 , sizeof (m_executionEnivronment));
524
- memset (&m_kernelProgram, 0 , sizeof (m_kernelProgram));
525
- };
514
+ SOpenCLKernelInfo () {};
526
515
527
- std::string m_kernelName;
528
- QWORD m_ShaderHashCode;
516
+ std::string m_kernelName = {} ;
517
+ QWORD m_ShaderHashCode = {} ;
529
518
530
519
std::vector<iOpenCL::PointerInputAnnotation*> m_pointerInput;
531
520
std::vector<iOpenCL::PointerArgumentAnnotation*> m_pointerArgument;
@@ -538,26 +527,26 @@ namespace IGC
538
527
std::vector<iOpenCL::KernelArgumentInfoAnnotation*> m_kernelArgInfo;
539
528
std::vector<iOpenCL::PrintfStringAnnotation*> m_printfStringAnnotations;
540
529
541
- iOpenCL::PrintfBufferAnnotation* m_printfBufferAnnotation;
542
- iOpenCL::SyncBufferAnnotation* m_syncBufferAnnotation;
543
- iOpenCL::StartGASAnnotation* m_startGAS = NULL ;
544
- iOpenCL::WindowSizeGASAnnotation* m_WindowSizeGAS = NULL ;
545
- iOpenCL::PrivateMemSizeAnnotation* m_PrivateMemSize = NULL ;
546
- std::string m_kernelAttributeInfo;
530
+ iOpenCL::PrintfBufferAnnotation* m_printfBufferAnnotation = nullptr ;
531
+ iOpenCL::SyncBufferAnnotation* m_syncBufferAnnotation = nullptr ;
532
+ iOpenCL::StartGASAnnotation* m_startGAS = nullptr ;
533
+ iOpenCL::WindowSizeGASAnnotation* m_WindowSizeGAS = nullptr ;
534
+ iOpenCL::PrivateMemSizeAnnotation* m_PrivateMemSize = nullptr ;
535
+ std::string m_kernelAttributeInfo = {} ;
547
536
548
537
bool m_HasInlineVmeSamplers = false ;
549
538
550
539
// This maps argument numbers to BTI and sampler indices
551
540
// (e.g. kernel argument 3, which is is an image_2d, may be mapped to BTI 6)
552
- std::map<DWORD, unsigned int > m_argIndexMap;
541
+ std::map<DWORD, unsigned int > m_argIndexMap = {} ;
553
542
554
- iOpenCL::ThreadPayload m_threadPayload;
543
+ iOpenCL::ThreadPayload m_threadPayload = {} ;
555
544
556
- iOpenCL::ExecutionEnivronment m_executionEnivronment;
545
+ iOpenCL::ExecutionEnivronment m_executionEnivronment = {} ;
557
546
558
- iOpenCL::KernelTypeProgramBinaryInfo m_kernelTypeInfo;
547
+ iOpenCL::KernelTypeProgramBinaryInfo m_kernelTypeInfo = {} ;
559
548
560
- SKernelProgram m_kernelProgram;
549
+ SKernelProgram m_kernelProgram = {} ;
561
550
};
562
551
563
552
0 commit comments