You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to introduce yet another hipification approach: instead of a new hipified file or hipification in-place perform hipification in the source CUDA file by keeping both CUDA and HIP code in it.
[on deliberation]
For compiling such a single-source hipified code the following defines should be provided:
for AMD: -DNVIDIA=0 -DAMD=1 -DGPU_PLATFORM=AMD
for NVIDIA: -DNVIDIA=0 -DAMD=1 -DGPU_PLATFORM=NVIDIA
[IMP]
Both approaches should be available in hipify-clang first under corresponding options.
The text was updated successfully, but these errors were encountered:
The idea is to introduce yet another hipification approach: instead of a new hipified file or hipification in-place perform hipification in the source CUDA file by keeping both CUDA and HIP code in it.
[Example]
[on deliberation]
For compiling such a single-source hipified code the following defines should be provided:
for AMD:
-DNVIDIA=0 -DAMD=1 -DGPU_PLATFORM=AMD
for NVIDIA:
-DNVIDIA=0 -DAMD=1 -DGPU_PLATFORM=NVIDIA
[IMP]
Both approaches should be available in hipify-clang first under corresponding options.
The text was updated successfully, but these errors were encountered: