repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[libc][NFC] Move aligned access implementations to separate header
[llvm-project.git]
/
libc
/
src
/
__support
/
GPU
/
CMakeLists.txt
blob
5a899215f4b6e8d1027164fe7d7ae79f4ea17f15
1
if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
2
return()
3
endif()
4
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()
9
10
add_header_library(
11
utils
12
HDRS
13
utils.h
14
DEPENDS
15
${target_gpu_utils}
16
)