Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
elpa
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
f0fcf926
Commit
f0fcf926
authored
Feb 15, 2019
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tabs
parent
2463d192
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/GPU/check_for_gpu.F90
src/GPU/check_for_gpu.F90
+9
-9
No files found.
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