[libc][NFC] Move aligned access implementations to separate header
[llvm-project.git] / libc / src / __support / GPU / CMakeLists.txt
blob5a899215f4b6e8d1027164fe7d7ae79f4ea17f15
1 if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
2   return()
3 endif()
5 foreach(target nvptx amdgpu generic)
6   add_subdirectory(${target})
7   list(APPEND target_gpu_utils libc.src.__support.GPU.${target}.${target}_utils)
8 endforeach()
10 add_header_library(
11   utils
12   HDRS
13     utils.h
14   DEPENDS
15     ${target_gpu_utils}