Commit 2e198d90 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed definition of HAVE_CU* macros in tnlConfig.h

It does not make sense to define e.g. HAVE_CUSPARSE when HAVE_CUDA is
not defined. Otherwise it would be necessary to pass the CUDA's include
path even when compiling with GCC without CUDA support.
parent 96306a20
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@HAVE_CUBLAS@

@HAVE_CUSP@

@HAVE_SYS_TIME_H@

@HAVE_SYS_RESOURCE_H@

#ifdef HAVE_CUDA
    @HAVE_CUBLAS@

    @HAVE_CUSP@

    @HAVE_CUSPARSE@
#endif

@HAVE_CPPUNIT@