blob: 8c3ac0251686f6828175dd5300eeb3d2ec2ca4d5 [file] [log] [blame]
add_library(
utils
OBJECT
Utils/Error.cpp)
add_library(
streamexecutor
$<TARGET_OBJECTS:utils>
Device.cpp
DeviceMemory.cpp
Kernel.cpp
KernelSpec.cpp
PackedKernelArgumentArray.cpp
Platform.cpp
PlatformDevice.cpp
PlatformManager.cpp
Stream.cpp)
target_link_libraries(streamexecutor ${llvm_libs})
install(TARGETS streamexecutor DESTINATION lib)
if(STREAM_EXECUTOR_UNIT_TESTS)
add_subdirectory(unittests)
endif()