Skip to content

Commit 684b12e

Browse files
authored
[cherry-pick]remove unuse cuSparse function (#44511)
cherry-pick #43626
1 parent a224019 commit 684b12e

File tree

6 files changed

+4
-569
lines changed

6 files changed

+4
-569
lines changed

paddle/fluid/operators/math/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ if(WITH_ROCM)
6161
endif()
6262
cc_test(concat_test SRCS concat_test.cc DEPS concat_and_split)
6363

64-
if(WITH_GPU AND (NOT WITH_ROCM))
65-
#currenty not yet support ROCM
66-
#the generic conversion APIs of dense and sparse are only supported after cuda11.2
67-
if((NOT ${CMAKE_CUDA_COMPILER_VERSION} VERSION_LESS 11.2))
68-
cc_test(cusparse_conversion_api_test SRCS cusparse_conversion_api_test.cc DEPS tensor)
69-
endif()
70-
endif()
7164

7265
if(WITH_TESTING AND TEST im2col_test)
7366
set_tests_properties(im2col_test PROPERTIES TIMEOUT 120)

paddle/fluid/operators/math/cusparse_conversion_api_test.cc

Lines changed: 0 additions & 190 deletions
This file was deleted.

paddle/fluid/operators/math/sparse.h

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)