mlir icon indicating copy to clipboard operation
mlir copied to clipboard

can toy language generate cuda code?

Open MingliSun opened this issue 6 years ago • 4 comments

mlir-cuda-runner has a problem,and its three testes is not passed.How to generate cuda code in Toy language?

MingliSun avatar Dec 15 '19 07:12 MingliSun

There is no GPU path from Toy at the moment. If mlir-cuda-runner is failing in your environment, it would be unlikely a Toy path would work.

joker-eph avatar Dec 15 '19 17:12 joker-eph

did you get mlir-cuda-runner to work for you in the past? Do you know if this is a recent failure? (it is working for us internally)

joker-eph avatar Dec 15 '19 18:12 joker-eph

Are there any plans to add an GPU path tutorial/example? Maybe also in a similar fashion to https://github.com/bondhugula/mlir/blob/hop/g3doc/HighPerfCodeGen.md?

marbre avatar Dec 17 '19 09:12 marbre

Are there any plans to add an GPU path tutorial/example?

GPU path is pretty much work-in-progress, there is no robust lowering from arbitrary loops to GPU kernels. We may consider it for an updated version of the tutorial in future.

ftynse avatar Dec 17 '19 12:12 ftynse