XLA for C/Idris

67 views
Skip to first unread message

Joel Berkeley

unread,
Aug 19, 2021, 8:16:49 AM8/19/21
to XLA development
Hi XLA devs,

I'm working on a probabilistic modelling library in Idris, and intend to use XLA for the backend. Let me know if this is/isn't right place to ask about this - stack overflow's not the right format.

I'm not clear which files in the tensorflow repo comprise XLA. Could you help me with that?

Are you interested in providing a pure C API for XLA, particular for interfacing with other languages?

Thanks,
Joel

Sanjoy Das

unread,
Aug 20, 2021, 1:37:36 AM8/20/21
to Joel Berkeley, XLA development
On Thu, Aug 19, 2021 at 5:16 AM 'Joel Berkeley' via XLA development <xla...@googlegroups.com> wrote:
Hi XLA devs,

I'm working on a probabilistic modelling library in Idris, and intend to use XLA for the backend. Let me know if this is/isn't right place to ask about this - stack overflow's not the right format.

I'm not clear which files in the tensorflow repo comprise XLA. Could you help me with that?

That would be tensorflow/compiler/xla/...

There are some other directories that contain the integration between TF and XLA (like compiler/tf2xla and compiler/jit).

Are you interested in providing a pure C API for XLA, particular for interfacing with other languages?

I'm not aware of any plans for such an API.  If you need it I'd suggest implementing it downstream in your project.

-- Sanjoy
 

Thanks,
Joel

--
You received this message because you are subscribed to the Google Groups "XLA development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xla-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xla-dev/a161ac4e-201d-4931-8972-fdc3b0ac0fc6n%40googlegroups.com.

Joel

unread,
Aug 20, 2021, 7:27:54 AM8/20/21
to XLA development
Thanks. I guess I wasn't very specific. In tensorflow/compiler/xla/ there are docs, tests, and python api stuff. I'm looking for just the C++ API. Which of the other directories are core code or extras like docs and tests?

Adrian Kuegel

unread,
Aug 20, 2021, 7:49:17 AM8/20/21
to Joel, XLA development
The C++ API for building HLO graphs is in tensorflow/compiler/xla/client

Joel

unread,
Aug 20, 2021, 8:08:44 AM8/20/21
to XLA development
and I guess all the dependencies for "client" are covered in the tensorflow/compiler/xla/client/BUILD
Reply all
Reply to author
Forward
0 new messages