[mlir][gpu] Fallback to JIT compilation
authorGuray Ozen <guray.ozen@gmail.com>
Mon, 24 Jul 2023 10:45:04 +0000 (12:45 +0200)
committerGuray Ozen <guray.ozen@gmail.com>
Mon, 24 Jul 2023 13:11:05 +0000 (15:11 +0200)
commit2e0e00ed841951e358a85a871647be9b3a622f51
tree39282833323d4140f9388306278509284ff6169e
parentb4a5b61d7675521e473c37921a2bdf771fd2bd3e
[mlir][gpu] Fallback to JIT compilation

Recent change introduces compilation with ptxas compiler. The change is important to be able to different versions of ptxas compiler without changing the compiler.

It causes some failures in builtbot. This change adds fallback mechanism to JIt compilation that is original path.

Differential Revision: https://reviews.llvm.org/D156096
mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp