Skip to content

Commit be47898

Browse files
committed
remove cutensor
1 parent 7a73fe3 commit be47898

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -241,17 +241,6 @@ if (MFC_SIMULATION)
241241
"-foffload-options=-lgfortran\ -lm"
242242
"-fno-exceptions")
243243
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "NVHPC" OR CMAKE_Fortran_COMPILER_ID STREQUAL "PGI")
244-
find_package(cuTENSOR)
245-
if (NOT cuTENSOR_FOUND)
246-
message(WARNING
247-
"Failed to locate the NVIDIA cuTENSOR library. MFC will be "
248-
"built without support for it, disallowing the use of "
249-
"cu_tensor=T. This can result in degraded performance.")
250-
else()
251-
target_link_libraries (simulation PRIVATE cuTENSOR::cuTENSOR)
252-
target_compile_definitions(simulation PRIVATE MFC_cuTENSOR)
253-
endif()
254-
255244
if (CMAKE_BUILD_TYPE STREQUAL "Release")
256245
target_compile_options(simulation
257246
PRIVATE -gpu=keep,ptxinfo,lineinfo

0 commit comments

Comments
 (0)