ROCm / ROCm

AMD ROCm™ Software - GitHub Home

Home Page:https://rocm.docs.amd.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custom accelerator using rocm.

notlober opened this issue · comments

can i build a custom accelerator that support rocm api to have rocm as a bridge between my hardware and the target program? will there be any problems like license or law issues? just asking.

like for example i want to use pytorch with my custom hardware, and without writing too many code, like just modifying my custom drivers of my hardware for rocm api calls, i can use pytorch, this is not a problem for now, but if i want to go commercial with same setup, will there be any problems?

commented

you can def implement the hip api with no issue, its an open standart, and people have done so: https://github.com/illuhad/hipCPU hip itself is also quite small and very fesable to implement.

However to make something like pytorch work is a totally different animal and is hard and a huge tonne of work as it depends on highly complex libiaries like rocBlas and miopen that are agressively machine specific to amd gpus, you will have write new, api compatable versions of those, an impossible undertakeing if your not a large team