We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a73fe3 commit be47898Copy full SHA for be47898
1 file changed
CMakeLists.txt
@@ -241,17 +241,6 @@ if (MFC_SIMULATION)
241
"-foffload-options=-lgfortran\ -lm"
242
"-fno-exceptions")
243
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
-
255
if (CMAKE_BUILD_TYPE STREQUAL "Release")
256
target_compile_options(simulation
257
PRIVATE -gpu=keep,ptxinfo,lineinfo
0 commit comments