Changeset 4964 in CLRX


Ignore:
Timestamp:
Sep 15, 2019, 12:48:13 PM (5 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Remove obsolete kernel descriptor in AsmROCmKernel. Add pgmrsrc3 and sharedVGPRs in AmdHsaKernelConfig?.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/amdasm/AsmFormats.h

    r4963 r4964  
    360360    bool privilegedMode;   ///< prvileged mode
    361361    bool dx10Clamp;     ///< DX10 CLAMP mode
     362    cxuint sharedVGPRsNum;
     363    uint32_t pgmRsrc3;
    362364   
    363365    void initialize();
     
    572574        AsmSectionId configSection;
    573575        std::unique_ptr<AsmROCmKernelConfig> config;
    574         std::unique_ptr<ROCmKernelDescriptor> desc;
    575576        bool isFKernel;
    576577        AsmSectionId ctrlDirSection;
     
    578579       
    579580        explicit Kernel(AsmSectionId _configSection = ASMSECT_NONE): KernelBase{},
    580                 configSection(_configSection), config(nullptr), desc(nullptr),
    581                 isFKernel(false), ctrlDirSection(ASMSECT_NONE), savedSection(ASMSECT_NONE)
     581                configSection(_configSection), config(nullptr), isFKernel(false),
     582                ctrlDirSection(ASMSECT_NONE), savedSection(ASMSECT_NONE)
    582583        { }
    583584       
  • CLRadeonExtender/trunk/amdasm/AsmFormats.cpp

    r4517 r4964  
    5656    privilegedMode = false;
    5757    dx10Clamp = false;
     58    pgmRsrc3 = 0;
     59    sharedVGPRsNum = 0;
    5860}
    5961
Note: See TracChangeset for help on using the changeset viewer.