blob: 5a899215f4b6e8d1027164fe7d7ae79f4ea17f15 [file] [log] [blame]
if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
return()
endif()
foreach(target nvptx amdgpu generic)
add_subdirectory(${target})
list(APPEND target_gpu_utils libc.src.__support.GPU.${target}.${target}_utils)
endforeach()
add_header_library(
utils
HDRS
utils.h
DEPENDS
${target_gpu_utils}
)