Commit 09059b58 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Testing with clang and CUDA 8.0 RC.

parent 1f28c0af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ bool ArrayOperations< Devices::Cuda >::allocateMemory( Element*& data,
                                                    const Index size )
{
#ifdef HAVE_CUDA
   checkCudaDevice;
   if( cudaMalloc( ( void** ) &data,
                   ( size_t ) size * sizeof( Element ) ) != cudaSuccess )
      data = 0;
@@ -39,6 +40,7 @@ bool ArrayOperations< Devices::Cuda >::freeMemory( Element* data )
{
   Assert( data, );
#ifdef HAVE_CUDA
      checkCudaDevice;
      cudaFree( data );
      return checkCudaDevice;
#else
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ INSTALL( FILES ${PROJECT_TOOLS_PATH}/tnl-init${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-view${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-diff${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-grid-setup${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-mesh-convert${debugExt}
               #${PROJECT_TOOLS_PATH}/tnl-mesh-convert${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-dicom-reader${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-image-converter${debugExt}
               ${PROJECT_TOOLS_PATH}/tnl-curve2gnuplot${debugExt}