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.