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.

42 lines
1.1 KiB

  1. # Module for locating libnuma
  2. #
  3. # Read-only variables:
  4. # NUMA_FOUND
  5. # Indicates that the library has been found.
  6. #
  7. # NUMA_INCLUDE_DIR
  8. # Points to the libnuma include directory.
  9. #
  10. # NUMA_LIBRARY_DIR
  11. # Points to the directory that contains the libraries.
  12. # The content of this variable can be passed to link_directories.
  13. #
  14. # NUMA_LIBRARY
  15. # Points to the libnuma that can be passed to target_link_libararies.
  16. #
  17. # Copyright (c) 2013-2020 MulticoreWare, Inc
  18. include(FindPackageHandleStandardArgs)
  19. find_path(NUMA_ROOT_DIR
  20. NAMES include/numa.h
  21. PATHS ENV NUMA_ROOT
  22. DOC "NUMA root directory")
  23. find_path(NUMA_INCLUDE_DIR
  24. NAMES numa.h
  25. HINTS ${NUMA_ROOT_DIR}
  26. PATH_SUFFIXES include
  27. DOC "NUMA include directory")
  28. find_library(NUMA_LIBRARY
  29. NAMES numa
  30. HINTS ${NUMA_ROOT_DIR}
  31. DOC "NUMA library")
  32. if (NUMA_LIBRARY)
  33. get_filename_component(NUMA_LIBRARY_DIR ${NUMA_LIBRARY} PATH)
  34. endif()
  35. mark_as_advanced(NUMA_INCLUDE_DIR NUMA_LIBRARY_DIR NUMA_LIBRARY)
  36. find_package_handle_standard_args(NUMA REQUIRED_VARS NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY)