Comment

Comment by JonChesterfield

This is technically feasible so might be the real thing. Parsing inline ptx and mapping that onto amdgpu would be a huge pain.

Working from cuda source that doesn't use inline ptx to target amdgpu is roughly regex find and replace to get hip, which has implemented pretty much the same functionality.

Some of the details would be dubious, e.g. the atomic models probably don't match, and volta has a different instruction pointer model, but it could all be done correctly.

Amd won't do this. Cuda isn't a very nice thing in general and the legal team would have kittens. But other people totally could.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton