未验证 提交 c963a21d 编写于 作者: C chentianyu03 提交者: GitHub

fix cuda_stream missing mkldnn depending error (#34260)

上级 1f6f2235
IF(WITH_MKLDNN)
set(MKLDNN_CTX_DEPS mkldnn)
ELSE()
set(MKLDNN_CTX_DEPS)
ENDIF()
IF(WITH_GPU OR WITH_ROCM) IF(WITH_GPU OR WITH_ROCM)
cc_library(cuda_stream SRCS cuda_stream.cc DEPS enforce boost) cc_library(cuda_stream SRCS cuda_stream.cc DEPS enforce boost ${MKLDNN_CTX_DEPS})
ENDIF() ENDIF()
IF(WITH_ASCEND_CL) IF(WITH_ASCEND_CL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册