Files
rocm-systems/samples/2_Cookbook/23_cmake_hiprtc/README.md
T
ROCm CI Service Account 90de01adb9 SWDEV-393746 - Fix HIP sample failures-21, 22, 23 (#331)
Change-Id: Id839cf24ba5f16897428b19c0299ea781a5a6d09
2023-06-28 21:59:03 +05:30

240 B

This will test linking hiprtc::hiprtc interface in cmake

I. Build

mkdir -p build; cd build
rm -rf *;
CXX="$(hipconfig -l)"/amdclang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm ..
make

II. Test

$ ./test
SAXPY test completed