Files
composable_kernel/driver/CMakeLists.txt
Chao Liu 42e9613bb8 fixed build issue
[ROCm/composable_kernel commit: f2b92ba945]
2019-06-12 09:59:28 -05:00

9 lines
235 B
CMake

if(DEVICE_BACKEND STREQUAL "HIP")
set(DRIVER_SOURCE driver.cpp)
elseif(DEVICE_BACKEND STREQUAL "CUDA")
set(DRIVER_SOURCE driver.cu)
endif()
add_executable(driver ${DRIVER_SOURCE})
target_link_libraries(driver PRIVATE tensor)