Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_pdata
Commits
3ac38c9c
Commit
3ac38c9c
authored
Jan 21, 2019
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General fixing
parent
f1a1c87a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
example/Vector/7_SPH_dlb_gpu_opt/Makefile
example/Vector/7_SPH_dlb_gpu_opt/Makefile
+1
-1
example/Vector/7_SPH_dlb_gpu_opt/main.cu
example/Vector/7_SPH_dlb_gpu_opt/main.cu
+2
-2
No files found.
example/Vector/7_SPH_dlb_gpu_opt/Makefile
View file @
3ac38c9c
...
...
@@ -31,7 +31,7 @@ sph_dlb_test: OPT += -DTEST_RUN
sph_dlb_test
:
sph_dlb
%.o
:
%.cu
$(CUDA_CC)
-O
0
-g
$(OPT)
-use_fast_math
-arch
=
sm_61
-lineinfo
-g
-c
-isystem
=
/home/i-bird/MPI/include
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH_NVCC)
$(CUDA_CC)
-O
3
$(OPT)
-use_fast_math
-arch
=
sm_61
-lineinfo
-g
-c
-isystem
=
/home/i-bird/MPI/include
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH_NVCC)
%.o
:
%.cpp
$(CC)
-O3
$(OPT)
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
...
...
example/Vector/7_SPH_dlb_gpu_opt/main.cu
View file @
3ac38c9c
...
...
@@ -42,7 +42,7 @@
#define PRINT_STACKTRACE
#define STOP_ON_ERROR
#define OPENMPI
#define
CUDA_CHECK_LAUNCH
#define
SE_CLASS1
#include "Vector/vector_dist.hpp"
#include <math.h>
...
...
@@ -97,7 +97,7 @@ const real_number MassBound = 0.0000767656 / 8.0;
#ifdef TEST_RUN
const
real_number
t_end
=
0.001
;
#else
const
real_number
t_end
=
0.001
;
const
real_number
t_end
=
1.500
;
#endif
// Gravity acceleration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment