HVM icon indicating copy to clipboard operation
HVM copied to clipboard

ROCm compatibility

Open erkinalp opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. HVM2 currently requires CUDA and only works on NVIDIA GPUs, which is an issue

Describe the solution you'd like Have a ROCm+HIP compatible port of HVM2.

Describe alternatives you've considered none

Additional context Initial porting of the CUDA-specific layer can be done mechanically using hipify, but then the further optimisation needs to be done manually

erkinalp avatar Aug 06 '24 11:08 erkinalp

I'm not personally familiar with the HIP nor the ROCm platform / framework. Do you have any good introductory resources to these?

enricozb avatar Aug 06 '24 13:08 enricozb

It's AMD's source code compatible replacement for CUDA: https://github.com/ROCm/HIP

erkinalp avatar Aug 06 '24 18:08 erkinalp

If you desire binary-compatibility with CUDA, then you want https://github.com/lshqqytiger/ZLUDA/

erkinalp avatar Aug 06 '24 18:08 erkinalp