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
45f96086
Commit
45f96086
authored
Jul 07, 2014
by
David Rohr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve debug messages
parent
cd864897
Changes
1
Hide 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 @
45f96086
...
...
@@ -302,7 +302,7 @@ int bioem_cuda::selectCudaDevice()
cuCtxDestroy
(
tmpContext
);
checkCudaErrors
(
cudaGetDeviceProperties
(
&
deviceProp
,
i
));
if
(
DebugOutput
>=
1
)
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
)
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
)
{
...
...
@@ -313,7 +313,7 @@ int bioem_cuda::selectCudaDevice()
cudaGetDeviceProperties
(
&
deviceProp
,
bestDevice
);
if
(
DebugOutput
>=
2
)
if
(
DebugOutput
>=
3
)
{
printf
(
"Using CUDA Device %s with Properties:
\n
"
,
deviceProp
.
name
);
printf
(
"totalGlobalMem = %lld
\n
"
,
(
unsigned
long
long
int
)
deviceProp
.
totalGlobalMem
);
...
...
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