Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
2074ed47
Commit
2074ed47
authored
3 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing example
parent
25b89ceb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2875
passed
3 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
example/SparseGrid/8_filling_benchmark_gpu/main.cu
+1
-1
1 addition, 1 deletion
example/SparseGrid/8_filling_benchmark_gpu/main.cu
example/Vector/7_SPH_dlb_gpu/main.cu
+2
-2
2 additions, 2 deletions
example/Vector/7_SPH_dlb_gpu/main.cu
script/help
+1
-1
1 addition, 1 deletion
script/help
with
4 additions
and
4 deletions
example/SparseGrid/8_filling_benchmark_gpu/main.cu
+
1
−
1
View file @
2074ed47
...
...
@@ -2,7 +2,7 @@
#define SYNC_BEFORE_TAKE_TIME
#define ENABLE_GRID_DIST_ID_PERF_STATS
#include
"Decomposition/Distribution/BoxDistribution.hpp"
#include
"util/cuda
/cuda
_launch.hpp"
#include
"util/cuda_launch.hpp"
#include
"Grid/grid_dist_id.hpp"
#include
"data_type/aggregate.hpp"
#include
"timer.hpp"
...
...
This diff is collapsed.
Click to expand it.
example/Vector/7_SPH_dlb_gpu/main.cu
+
2
−
2
View file @
2074ed47
...
...
@@ -900,7 +900,7 @@ int main(int argc, char* argv[])
++
obstacle_box
;
}
vd
.
map
();
// Now that we fill the vector with particles
...
...
@@ -909,7 +909,7 @@ int main(int argc, char* argv[])
vd
.
addComputationCosts
(
md
);
vd
.
getDecomposition
().
decompose
();
vd
.
map
();
///////////////////////////
// Ok the initialization is done on CPU on GPU we are doing the main loop, so first we offload all properties on GPU
...
...
This diff is collapsed.
Click to expand it.
script/help
+
1
−
1
View file @
2074ed47
...
...
@@ -14,7 +14,7 @@ function HELP {
echo -e " \033[1;34m-c\033[0m foward this options to configure"
echo -e " \033[1;34m-h\033[0m Displays this help message"\\n
echo -e " \033[1;34m-m\033[0m Skip compilation"\\n
echo -e " \033[1;34m-
nolin
\033[0m do not install linear algebra"\\n
echo -e " \033[1;34m-
l
\033[0m do not install linear algebra"\\n
echo -e " \033[1mExample:\033[0m ./install -i /dependencies/here -s -c\"some_options someother_option\""\\n
exit 1
}
...
...
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