Swift to GPU/PTX

,

Is there a way to compile Swift to PTX?

I know about Swift for Tensorflow and SwiftRT but they seem not to be quite exactly what I'm looking for.

My preferred way (other than a GPUSwift compiler) would be to manually emit IR, fiddle around with LLVM/MLIR tools and link by hand. Is this possible?

Terms of Service

Privacy Policy

Cookie Policy