Changeset 3330 in CLRX


Ignore:
Timestamp:
Sep 7, 2017, 3:29:04 PM (10 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Remove obsolete initializeKernelConfig calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/AsmROCmFormat.cpp

    r3313 r3330  
    661661        return;
    662662   
    663     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    664663    AsmROCmKernelConfig& config = *(handler.kernelStates[asmr.currentKernel]->config);
    665664    // set value
     
    745744        return;
    746745   
    747     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    748746    AsmROCmKernelConfig& config = *(handler.kernelStates[asmr.currentKernel]->config);
    749747   
     
    766764    if (!checkGarbagesAtEnd(asmr, linePtr))
    767765        return;
    768     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    769766    handler.kernelStates[asmr.currentKernel]->config->dimMask = dimMask;
    770767}
     
    833830        return;
    834831   
    835     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    836832    AsmROCmKernelConfig* config = handler.kernelStates[asmr.currentKernel]->config.get();
    837833    config->amdMachineKind = kindValue;
     
    885881        return;
    886882   
    887     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    888883    AsmROCmKernelConfig* config = handler.kernelStates[asmr.currentKernel]->config.get();
    889884    config->amdCodeVersionMajor = majorValue;
     
    960955        return;
    961956   
    962     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    963957    AsmROCmKernelConfig* config = handler.kernelStates[asmr.currentKernel]->config.get();
    964958    if (inVgpr)
     
    990984    if (!checkGarbagesAtEnd(asmr, linePtr))
    991985        return;
    992     handler.kernelStates[asmr.currentKernel]->initializeKernelConfig();
    993986    uint16_t& flags = handler.kernelStates[asmr.currentKernel]->config->
    994987                enableSgprRegisterFlags;
Note: See TracChangeset for help on using the changeset viewer.