luminal icon indicating copy to clipboard operation
luminal copied to clipboard

How to add new backends/compilers?

Open raphaelDkhn opened this issue 11 months ago • 1 comments

Hi, great project! I'd like to add a new backend/compiler. Is there a step-by-step guide for this to make sure I don't forget anything?

raphaelDkhn avatar Mar 09 '24 10:03 raphaelDkhn

There isn't yet a good guide but I'd look at crates/luminal_cuda or crates/luminal_metal for a good example of how to add a new backend. Metal is more fleshed out but also a bit more complex, cuda is slower but simpler currently.

jafioti avatar Mar 11 '24 15:03 jafioti