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
3a6f57ad
Commit
3a6f57ad
authored
Dec 27, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding print rank to GPU assignment
parent
86b3170d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/VCluster/VCluster_base.hpp
src/VCluster/VCluster_base.hpp
+9
-0
No files found.
src/VCluster/VCluster_base.hpp
View file @
3a6f57ad
...
...
@@ -295,6 +295,15 @@ public:
bar_stat
=
MPI_Status
();
context
=
new
mgpu
::
ofp_context_t
(
false
,
shmrank
);
#if defined(PRINT_RANK_TO_GPU) && defined(HAVE_CUDA)
unsigned
char
node_name
[
MPI_MAX_PROCESSOR_NAME
];
int
len
;
int
MPI_Get_processor_name
(
node_name
,
&
len
);
std
::
cout
<<
"Rank: "
<<
m_rank
<<
" on host: "
<<
node_name
<<
" work no GPU: "
<<
cudaGetDevice
()
<<
std
::
endl
;
#endif
}
#ifdef SE_CLASS1
...
...
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