triton icon indicating copy to clipboard operation
triton copied to clipboard

guide for adding new instructions?

Open GallagherCommaJack opened this issue 3 years ago • 0 comments

I was trying to implement a fused abs_angle kernel for complex tensors, and needed to use inverse trigonometric ops (specifically atan), and noticed that the available math instructions are very sparse. I then tried to add an atan instruction, expecting to open a PR, but after a couple hours of chasing build errors I couldn't figure out how to add it - some documentation would be much appreciated.

GallagherCommaJack avatar Dec 11 '21 00:12 GallagherCommaJack