summaryrefslogtreecommitdiff
path: root/parallel-libs/streamexecutor/lib/CMakeLists.txt
blob: fb3c048276264eadb043b24948dd33ef9eceeda5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
macro(add_se_library name)
  add_llvm_library(${name} ${ARGN})
  set_target_properties(${name} PROPERTIES FOLDER "streamexecutor libraries")
endmacro(add_se_library)

add_se_library(
    streamexecutor
    Device.cpp
    DeviceMemory.cpp
    Error.cpp
    HostMemory.cpp
    Kernel.cpp
    KernelSpec.cpp
    PackedKernelArgumentArray.cpp
    Platform.cpp
    PlatformDevice.cpp
    PlatformManager.cpp
    Stream.cpp
    )

install(TARGETS streamexecutor DESTINATION lib)