5bc903a0cd
This reverts commit873a2e33d3. Reason for revert: <INSERT REASONING HERE> Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721 [ROCm/hip-tests commit:051c84bba3]
Square.md
Simple test which shows how to use hipify-perl to port CUDA code to HIP.
See related blog that explains the example.
Now it is even simpler and requires no manual modification to the hipified source code - just hipify and compile:
-
Add hip/bin path to the PATH :
export PATH=$PATH:[MYHIP]/bin -
$ makeMake runs these steps. This can be performed on either CUDA or AMD platform:hipify-perl square.cu > square.cpp# convert cuda code to hip codehipcc square.cpp# compile into executable