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
elpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
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
...
@@ -62,17 +62,17 @@ module mod_check_for_gpu
gpuAvailable
=
.false.
gpuAvailable
=
.false.
if
(
cublasHandle
.ne.
-1
)
then
if
(
cublasHandle
.ne.
-1
)
then
gpuAvailable
=
.true.
gpuAvailable
=
.true.
numberOfDevices
=
-1
numberOfDevices
=
-1
if
(
myid
==
0
)
then
if
(
myid
==
0
)
then
print
*
,
"Skipping GPU init, should have already been initialized "
print
*
,
"Skipping GPU init, should have already been initialized "
endif
endif
return
return
else
else
if
(
myid
==
0
)
then
if
(
myid
==
0
)
then
print
*
,
"Initializing the GPU devices"
print
*
,
"Initializing the GPU devices"
endif
endif
endif
endif
if
(
.not.
(
present
(
wantDebug
)))
then
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