Comhaid
rocm-systems/projects/hip-tests/samples/2_Cookbook/23_cmake_hiprtc
ROCm CI Service Account f8e1cba1ad SWDEV-402381 - Add hipCheckErrors for HIP API calls in samples (#375)
Change-Id: I335d7e780362fc59fd2d90939b4c8b8a7231ffc7

[ROCm/hip-tests commit: 7cc53f992f]
2023-07-20 10:22:17 +05:30
..

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