1 Reply Latest reply on Aug 29, 2018 3:16 AM by dipak

    How to use llvm to offline compile .cl file into binary that can run with amdgpu pro driver?

    fancyix

      Now I am trying to build OpenCL kernel binary with llvm. I successfully compiled .cl into assembly, but cannot figure out a way to compile that format of assembly into binary that can run with AMDGPU pro driver. That format is not compatible with CLRadeonExtender assembler so it seems I need to use llvm's own tool to build the binary. How can I do so. Either a method to compile that format of assembly into binary, or a method to compile OpenCL file into binary, will help me.