Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
f0fcf926
Commit
f0fcf926
authored
Feb 15, 2019
by
Andreas Marek
Browse files
Remove tabs
parent
2463d192
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GPU/check_for_gpu.F90
View file @
f0fcf926
...
...
@@ -62,17 +62,17 @@ module mod_check_for_gpu
gpuAvailable
=
.false.
if
(
cublasHandle
.ne.
-1
)
then
gpuAvailable
=
.true.
numberOfDevices
=
-1
if
(
myid
==
0
)
then
if
(
cublasHandle
.ne.
-1
)
then
gpuAvailable
=
.true.
numberOfDevices
=
-1
if
(
myid
==
0
)
then
print
*
,
"Skipping GPU init, should have already been initialized "
endif
return
endif
return
else
if
(
myid
==
0
)
then
print
*
,
"Initializing the GPU devices"
endif
if
(
myid
==
0
)
then
print
*
,
"Initializing the GPU devices"
endif
endif
if
(
.not.
(
present
(
wantDebug
)))
then
...
...
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