Commit 6b2db9e9 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing build without CUDA.

parent 835b07f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ set( tnl_core_SOURCES
     ${tnl_core_cuda_SOURCES}
     ${tnl_core_vectors_SOURCES}
     ${common_SOURCES}
     ${CURRENT_DIR}/tnlCudaDeviceInfo.cpp
     PARENT_SCOPE )
    

+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ getGlobalMemory( int deviceNum )
}

int
tnlCudaDeviceInfo::
getMemoryClockRate( int deviceNum )
{
   return 0;
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ ELSE()
    SET_TARGET_PROPERTIES( tnl-benchmark-spmv${debugExt} PROPERTIES COMPILE_FLAGS "${CXX_OPTIMIZE_FLAGS}" )
    SET_TARGET_PROPERTIES( tnl-benchmark-linear-solvers${debugExt} PROPERTIES COMPILE_FLAGS "${CXX_OPTIMIZE_FLAGS}" )
    TARGET_LINK_LIBRARIES( tnl-benchmark-spmv${debugExt} tnl${debugExt}-${tnlVersion} )
    TARGET_LINK_LIBRARIES( tnl-benchmark-linear-solvers${debugExt} tnl${debugExt}-${tnlVersion} )
ENDIF()

if( BUILD_CUDA )