This contains my bachelors thesis and associated tex files, code snippets and maybe more. Topic: Data Movement in Heterogeneous Memories with Intel Data Streaming Accelerator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
648 B

  1. cmake_minimum_required(VERSION 3.18)
  2. project(offloading-cacher LANGUAGES CXX)
  3. set(CMAKE_CXX_STANDARD 20)
  4. list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
  5. find_package(NUMA REQUIRED)
  6. find_package(OpenMP REQUIRED)
  7. set(DML_SOURCE_DIR "../../DML/include/")
  8. set(SOURCES main.cpp)
  9. add_executable(offloading-cacher ${SOURCES})
  10. target_include_directories(offloading-cacher PRIVATE ${CMAKE_SOURCE_DIR} ${NUMA_INCLUDE_DIRS} ${DML_SOURCE_DIR})
  11. target_link_libraries(offloading-cacher PRIVATE libdml.a pthread ${CMAKE_DL_LIBS} ${NUMA_LIBRARY} OpenMP::OpenMP_CXX)
  12. install(TARGETS offloading-cacher DESTINATION ${CMAKE_INSTALL_PREFIX})