Changeset 3557 in CLRX


Ignore:
Timestamp:
Dec 24, 2017, 8:55:13 AM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: Make getXXXDisasmInputFromBinaryXX routines as public interface.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3457 r3557  
    497497};
    498498
     499// routines to get binary config inputs
     500
     501/// prepare AMD OpenCL input from AMD 32-bit binary
     502extern AmdDisasmInput* getAmdDisasmInputFromBinary32(
     503            const AmdMainGPUBinary32& binary, Flags flags);
     504/// prepare AMD OpenCL input from AMD 64-bit binary
     505extern AmdDisasmInput* getAmdDisasmInputFromBinary64(
     506            const AmdMainGPUBinary64& binary, Flags flags);
     507/// prepare AMD OpenCL 2.0 input from AMD 32-bit binary
     508extern AmdCL2DisasmInput* getAmdCL2DisasmInputFromBinary32(
     509            const AmdCL2MainGPUBinary32& binary, cxuint driverVersion);
     510/// prepare AMD OpenCL 2.0 input from AMD 64-bit binary
     511extern AmdCL2DisasmInput* getAmdCL2DisasmInputFromBinary64(
     512            const AmdCL2MainGPUBinary64& binary, cxuint driverVersion);
     513/// prepare ROCM input from ROCM binary
     514extern ROCmDisasmInput* getROCmDisasmInputFromBinary(
     515            const ROCmBinary& binary);
     516/// prepare Gallium input from Gallium binary
     517extern GalliumDisasmInput* getGalliumDisasmInputFromBinary(
     518            GPUDeviceType deviceType, const GalliumBinary& binary, cxuint llvmVersion);
     519
    499520};
    500521
  • CLRadeonExtender/trunk/amdasm/DisasmInternals.h

    r3429 r3557  
    7979       Flags flags);
    8080
    81 // prepare AMD OpenCL input from AMD 32-bit binary
    82 extern CLRX_INTERNAL AmdDisasmInput* getAmdDisasmInputFromBinary32(
    83             const AmdMainGPUBinary32& binary, Flags flags);
    84 // prepare AMD OpenCL input from AMD 64-bit binary
    85 extern CLRX_INTERNAL AmdDisasmInput* getAmdDisasmInputFromBinary64(
    86             const AmdMainGPUBinary64& binary, Flags flags);
    87 // prepare AMD OpenCL 2.0 input from AMD 32-bit binary
    88 extern CLRX_INTERNAL AmdCL2DisasmInput* getAmdCL2DisasmInputFromBinary32(
    89             const AmdCL2MainGPUBinary32& binary, cxuint driverVersion);
    90 // prepare AMD OpenCL 2.0 input from AMD 64-bit binary
    91 extern CLRX_INTERNAL AmdCL2DisasmInput* getAmdCL2DisasmInputFromBinary64(
    92             const AmdCL2MainGPUBinary64& binary, cxuint driverVersion);
    93 // prepare ROCM input from ROCM binary
    94 extern CLRX_INTERNAL ROCmDisasmInput* getROCmDisasmInputFromBinary(
    95             const ROCmBinary& binary);
    96 // prepare Gallium input from Gallium binary
    97 extern CLRX_INTERNAL GalliumDisasmInput* getGalliumDisasmInputFromBinary(
    98             GPUDeviceType deviceType, const GalliumBinary& binary, cxuint llvmVersion);
    99 
    10081extern CLRX_INTERNAL const std::pair<const char*, KernelArgType> disasmArgTypeNameMap[74];
    10182
Note: See TracChangeset for help on using the changeset viewer.