Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BioEM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MPIBP-Hummer
BioEM
Commits
88ded6c5
Commit
88ded6c5
authored
Jul 07, 2014
by
David Rohr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve debug messages
parent
f44e6353
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bioem_cuda.cu
bioem_cuda.cu
+2
-2
No files found.
bioem_cuda.cu
View file @
88ded6c5
...
...
@@ -302,7 +302,7 @@ int bioem_cuda::selectCudaDevice()
cuCtxDestroy
(
tmpContext
);
checkCudaErrors
(
cudaGetDeviceProperties
(
&
deviceProp
,
i
));
if
(
DebugOutput
>=
2
)
printf
(
"CUDA Device %2d: %s (Rev: %d.%d - Mem Avail %lld / %lld)
\n
"
,
i
,
deviceProp
.
name
,
deviceProp
.
major
,
deviceProp
.
minor
,
(
long
long
int
)
free
,
(
long
long
int
)
deviceProp
.
totalGlobalMem
);
if
(
DebugOutput
>=
2
&&
mpi_rank
==
0
)
printf
(
"CUDA Device %2d: %s (Rev: %d.%d - Mem Avail %lld / %lld)
\n
"
,
i
,
deviceProp
.
name
,
deviceProp
.
major
,
deviceProp
.
minor
,
(
long
long
int
)
free
,
(
long
long
int
)
deviceProp
.
totalGlobalMem
);
long
long
int
deviceSpeed
=
(
long
long
int
)
deviceProp
.
multiProcessorCount
*
(
long
long
int
)
deviceProp
.
clockRate
*
(
long
long
int
)
deviceProp
.
warpSize
;
if
(
deviceSpeed
>
bestDeviceSpeed
)
{
...
...
@@ -356,7 +356,7 @@ int bioem_cuda::selectCudaDevice()
if
(
DebugOutput
>=
1
)
{
printf
(
"BioEM for CUDA initialized
, %d GPUs found, using GPU %d
\n
"
,
count
,
bestDevice
);
printf
(
"BioEM for CUDA initialized
(MPI Rank %d), %d GPUs found, using GPU %d
\n
"
,
mpi_rank
,
count
,
bestDevice
);
}
return
(
0
);
...
...
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