CMakeLists.txt 410 Bytes
Newer Older
Jehandad Khan's avatar
Jehandad Khan committed
1
2
cmake_minimum_required(VERSION 3.15)
project(ck_app)
3
add_compile_options(-std=c++14)
Jehandad Khan's avatar
Jehandad Khan committed
4
5
6
7
8
9
10
11

find_package(composable_kernel 1.0.0 COMPONENTS device_operations host_tensor)
find_package(hip REQUIRED PATHS /opt/rocm)
message(STATUS "Build with HIP ${hip_VERSION}")

add_executable(myexe client_app.cpp)

target_link_libraries(myexe PRIVATE composable_kernel::device_operations composable_kernel::host_tensor hip::host)