Curious, why use cuda and hip? These frameworks are rather opinionated about kernel design, they seem suboptimal for implementing a language runtime when SPIR-V is right there, particularly in the case of datalog.
replies(4):
I'm currently sitting and learning cuda for ML purposes, so happy to get more educated :)