Files
rocm-systems/samples/2_Cookbook/22_cmake_hip_lang/README.md
T
ROCm CI Service Account e0ca1589b1 SWDEV-326631 - Adds sample which tests HIP language support with upstream CMake (#2743)
Change-Id: I6b666cc0c5b1a53819515c5e343e517a2712d2ef
2022-06-17 10:40:48 +05:30

344 B

This will test HIP language support in upstream CMake

I. Build mkdir -p build; cd build rm -rf *; cmake .. make

II. Test $ ./square info: running on device info: allocate host mem ( 7.63 MB) info: allocate device mem ( 7.63 MB) info: copy Host2Device info: launch 'vector_square' kernel info: copy Device2Host info: check result PASSED!