Fork自 PaddlePaddle / Paddle
体验新版 GitCode,发现更多精彩内容 >>
cc_library(arg_map_context SRCS arg_map_context.cc DEPS pten_enforce)
if(WITH_GPU) cc_library(convert_utils SRCS convert_utils.cc DEPS data_type place gpu_info) elseif(WITH_ROCM) cc_library(convert_utils SRCS convert_utils.cc DEPS data_type place gpu_info)
elseif(WITH_XPU) cc_library(convert_utils SRCS convert_utils.cc DEPS data_type place xpu_info) elseif(WITH_ASCEND_CL) cc_library(convert_utils SRCS convert_utils.cc DEPS data_type place npu_info)
else() cc_library(convert_utils SRCS convert_utils.cc DEPS data_type place) endif()
cc_library(op_utils SRCS op_utils.cc DEPS arg_map_context enforce convert_utils)