<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Ryan,
<div><br>
</div>
<div>We have been inspired by the design of MLIR, partly (in theory) to make it easier to translate to MLIR and therefore easier to leverage native MLIR compiler toolchains, just like you indicate.</div>
<div><br>
</div>
<div>We did an experiment translating Java code to the Triton MLIR dialect and inputing into Intel’s SPIRV compiler pipeline to generate GPU kernels. That’s as far as we have explored things. It needs to be proved out more, but we don’t have any plans to do
more at the moment as we (as in us folks at Oracle) are maxed out focusing on other areas. I was hoping some folks in the community might be interested in further experiments.</div>
<div><br>
</div>
<div>HAT could be a very an interesting area to focus on e.g., a HAT accelerator that generates MLIR kernels from Java code in the HAT programming model.</div>
<div><br>
</div>
<div>Paul.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>On Oct 27, 2025, at 11:47 AM, Ryan Nett <jnett96@gmail.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div dir="ltr">
<div>Hi folks,</div>
<div><br>
</div>
<div>I've seen Babylon's code model's similarity to MLIR be mentioned in a few conference talks, and was wondering if there were any plans to support MLIR as a "destination" via a 1st party library or something like HAT? There are several existing projects
that take MLIR as input and compile it to optimized device code (e.g. IREE, XLA,
<a href="https://mlir.llvm.org/users/">this list</a>), so if Java code could easily be converted to MLIR it could open up many integrations and support for additional devices without requiring any work on the Java side.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ryan</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>