Replies: 1 comment 1 reply
-
IMO, It's not an easy thing for porting the faiss to ROCm platform, I've done some related work. For porting faiss to ROCm, for now, I see blow works(maybe more, hope below tips could helps U):
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I working on convert faiss library from CUDA-gpu backend to ROCm-gpu backend, I got the obstacles about how to convert the CUDA PTX codes in faiss library to the same effect code. Because ROCm-gpu does not support CUDA-PTX code. Here lists a part codes I have converted:
As the code show above, the PTX codes locate in
#ifdef __HIP_PLATFORM_NVIDIA__
scope. And the corresponding same effection codes locate in#else
scope.Because I don't familiar with the function of PTX code in faiss library. If you have any suggestions about the codes above. Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions