Skip to content
Snippets Groups Projects
Commit cbf42c70 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed useless check for the CUSP library

It is not used in current code, it was used only in some legacy benchmarks.
parent 4bdcbb0d
No related branches found
No related tags found
1 merge request!3Refactoring
......@@ -161,20 +161,6 @@ if( WITH_CUDA STREQUAL "yes" )
# TODO: this is necessary only due to a bug in cmake
set( CUDA_ADD_LIBRARY_OPTIONS -shared )
####
# Check for CUSP
#
find_path( CUSP_INCLUDE_DIR cusp/hyb_matrix.h
DOC "CUSP headers." )
if( ${CUSP_INCLUDE_DIR} STREQUAL "CUSP_INCLUDE_DIR-NOTFOUND" )
message( "CUSP not found." )
set( HAVE_CUSP "//#define HAVE_CUSP 1" )
else()
message( "CUSP found. -- ${CUSP_INCLUDE_DIR}" )
set( HAVE_CUSP "#define HAVE_CUSP 1" )
cuda_include_directories( ${CUSP_INCLUDE_DIR} )
endif()
####
# Check for CUSPARSE
#
......
......@@ -5,8 +5,6 @@
@HAVE_SYS_IOCTL_H@
#ifdef HAVE_CUDA
@HAVE_CUSP@
@HAVE_CUSPARSE@
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment