Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
33d58765
There was an error fetching the commit references. Please try again later.
Commit
33d58765
authored
8 years ago
by
Vít Hanousek
Browse files
Options
Downloads
Patches
Plain Diff
Drobnosti
parent
79fabf01
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
netbeans_build.sh
+2
-2
2 additions, 2 deletions
netbeans_build.sh
netbeans_run_debug_satanexperimental.sh
+2
-2
2 additions, 2 deletions
netbeans_run_debug_satanexperimental.sh
src/TNL/Math.h
+6
-6
6 additions, 6 deletions
src/TNL/Math.h
with
10 additions
and
10 deletions
netbeans_build.sh
+
2
−
2
View file @
33d58765
...
...
@@ -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
This diff is collapsed.
Click to expand it.
netbeans_run_debug_satanexperimental.sh
+
2
−
2
View file @
33d58765
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/TNL/Math.h
+
6
−
6
View file @
33d58765
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment