XRT icon indicating copy to clipboard operation
XRT copied to clipboard

Enable HIP build in windows

Open rbramand-xilinx opened this issue 10 months ago • 0 comments

Problem solved by the commit

make changes to cmake files to enable HIP build on windows Fix compilation errors

TODO: send submodule update with this changes to XRT-MCDM repo and enable hip build option in build-win.bat of MCDM repo

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

How problem was solved, alternative solutions (if any) and why they were rejected

In windows HIP SDK can be installed to get HIP include files and it install cmake config files of HIP to fixed path For example latest SDK available on windows is of 5.7 version and it installs it to - C:/Program Files/AMD/ROCm/5.7/lib/cmake/hip So when searching for HIP config files I have added this hardcode path but also gave an option for user to set environment variable HIP_DIR to pick config files from that location.

Risks (if any) associated the changes in the commit

Low

What has been tested and how, request additional testing if necessary

Tested xrt_flow test using HIP apis on phoenix using MCDM flow

Documentation impact (if any)

NA

rbramand-xilinx avatar Apr 26 '24 10:04 rbramand-xilinx