Ignore:
Timestamp:
Dec 1, 2016, 2:00:10 PM (3 years ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Change ROCmRegionType::CODE to FKERNEL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r2599 r2600  
    9191                type = ROCmRegionType::KERNEL;
    9292            else if (symType==STT_FUNC)
    93                 type = ROCmRegionType::CODE;
     93                type = ROCmRegionType::FKERNEL;
    9494            symOffsets[j] = std::make_pair(value, j);
    9595            if (type!=ROCmRegionType::DATA && value+0x100 > codeOffset+codeSize)
     
    283283                      symbol.offset, symbol.size);
    284284                break;
    285             case ROCmRegionType::CODE:
     285            case ROCmRegionType::FKERNEL:
    286286                elfsym = ElfSymbol64(symbol.symbolName.c_str(), 4,
    287287                      ELF64_ST_INFO(STB_GLOBAL, STT_FUNC), 0, true,
Note: See TracChangeset for help on using the changeset viewer.