Commit f1bdcc74 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Hidden unused device-only variables from the host compiler

parent c8ed0db8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -56,7 +56,9 @@ benchmarkVectorOperations( Benchmark & benchmark,
#endif

   HostView hostView( hostVector ), hostView2( hostVector2 ), hostView3( hostVector3 ), hostView4( hostVector4 );
#ifdef HAVE_CUDA
   CudaView deviceView( deviceVector ), deviceView2( deviceVector2 ), deviceView3( deviceVector3 ), deviceView4( deviceVector4 );
#endif

   Real resultHost, resultDevice;