Skip to content
Snippets Groups Projects
Commit 33d58765 authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Drobnosti

parent 79fabf01
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,5 @@
module load gcc-5.3.0 cmake-3.4.3 intel_parallel_studio_ex-2016.1
cd Debug
#make -j 6 tnlMICArrayTest-dbg
make -j 6 tnlMICVectorTest-dbg
#make -j 6 tnl-heat-equation-dbg
\ No newline at end of file
#make -j 6 tnlMICVectorTest-dbg
make -j 6 tnl-heat-equation-dbg
\ No newline at end of file
......@@ -116,5 +116,5 @@ module load gcc-5.3.0 cmake-3.4.3 intel_parallel_studio_ex-2016.1
cd Debug/bin
export OFFLOAD_REPORT=0
#./tnlMICArrayTest-dbg
./tnlMICVectorTest-dbg
# heat_eq
#./tnlMICVectorTest-dbg
heat_eq
......@@ -96,13 +96,13 @@ typename enable_if_same_base< T, int >::type
max( const T& a, const T& b )
{
#ifdef __CUDA_ARCH__
return ::max( a, b );
#else
/*return std::max( a, b );*/
if(a>=b)
return a;
else
return b;
#ifdef __MIC__
return ::max( a, b );
#else
return std::max( a, b );
#endif
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment