Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
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
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
2a1b192b
Commit
2a1b192b
authored
May 15, 2019
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give the possibility to set-up device for external
parent
09c23abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/VCluster/VCluster_base.hpp
src/VCluster/VCluster_base.hpp
+8
-1
No files found.
src/VCluster/VCluster_base.hpp
View file @
2a1b192b
...
...
@@ -290,7 +290,14 @@ public:
bar_req
=
MPI_Request
();
bar_stat
=
MPI_Status
();
context
=
new
mgpu
::
ofp_context_t
(
mgpu
::
gpu_context_opt
::
no_print_props
,
shmrank
);
#ifdef EXTERNAL_SET_GPU
int
dev
;
cudaGetDevice
(
&
dev
);
context
=
new
mgpu
::
ofp_context_t
(
mgpu
::
gpu_context_opt
::
no_print_props
,
dev
);
#else
context
=
new
mgpu
::
ofp_context_t
(
mgpu
::
gpu_context_opt
::
no_print_props
,
shmrank
);
#endif
#if defined(PRINT_RANK_TO_GPU) && defined(CUDA_GPU)
...
...
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