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

add pten_transpose dependence device_context (#37705)

上级 d93ee063
cc_library(pten_transpose_cpu SRCS transpose.cc DEPS dense_tensor)
cc_library(pten_transpose_cpu SRCS transpose.cc DEPS dense_tensor device_context)
if(WITH_GPU)
nv_library(pten_transpose_cuda SRCS transpose.cu DEPS dense_tensor malloc)
nv_library(pten_transpose_cuda SRCS transpose.cu DEPS dense_tensor malloc device_context)
elseif(WITH_ROCM)
hip_library(pten_transpose_cuda SRCS transpose.cu DEPS dense_tensor malloc)
hip_library(pten_transpose_cuda SRCS transpose.cu DEPS dense_tensor malloc device_context)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册