Ignore:
Timestamp:
Jan 26, 2018, 2:47:23 PM (23 months ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Fixed recognizing of ROCm binary (ignore e_flags value).

File:
1 edited

Legend:

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

    r3575 r3660  
    192192        return false;
    193193    const Elf64_Ehdr* ehdr = reinterpret_cast<const Elf64_Ehdr*>(binary);
    194     if (ULEV(ehdr->e_machine) != 0xe0 || ULEV(ehdr->e_flags)!=0)
     194    if (ULEV(ehdr->e_machine) != 0xe0)
    195195        return false;
    196196    return true;
Note: See TracChangeset for help on using the changeset viewer.