Files
composable_kernel/driver/CMakeLists.txt
Chao Liu 153629655f update build
[ROCm/composable_kernel commit: a414e3fdf8]
2019-02-15 02:06:34 -06:00

9 lines
239 B
CMake

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