Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QuickSched
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
QuickSched
Commits
b7e3c77f
Commit
b7e3c77f
authored
8 years ago
by
axc67-pxs02
Browse files
Options
Downloads
Plain Diff
Merge branch 'openMP_locks' of gitlab.cosma.dur.ac.uk:swift/quicksched into openMP_locks
parents
523458a0
cdea4aa2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fortran_examples/test_n2.F90
+6
-4
6 additions, 4 deletions
fortran_examples/test_n2.F90
with
6 additions
and
4 deletions
fortran_examples/test_n2.F90
+
6
−
4
View file @
b7e3c77f
...
...
@@ -38,8 +38,8 @@ Type(Cell), Dimension(:), Allocatable :: cells
Contains
Subroutine
Interact_single
(
cell_i
)
Integer
,
Intent
(
in
)
::
cell_i
Subroutine
Interact_single
(
cell_i
)
BIND
(
C
)
Integer
(
Kind
=
C_INT
)
,
Intent
(
in
)
::
cell_i
Integer
::
i
,
j
...
...
@@ -85,9 +85,9 @@ end do
End
Subroutine
Subroutine
Interact
(
cell_i
,
cell_j
)
Subroutine
Interact
(
cell_i
,
cell_j
)
BIND
(
C
)
Integer
,
Intent
(
in
)
::
cell_i
,
cell_j
Integer
(
Kind
=
C_INT
)
,
Intent
(
in
)
::
cell_i
,
cell_j
Integer
::
i
,
j
Real
(
Kind
=
dp
)
::
xx
,
yy
,
zz
,
r
,
f
,
ir
,
ir6
,
ir12
,
fxx
,
fyy
,
fzz
,
fix
,
fiy
,
fiz
...
...
@@ -209,6 +209,8 @@ do i = 1, 100
call
cell_init
(
i
,
500
)
end
do
print
*
,
"num_threads = "
,
num_threads
sched
=
f_qsched_create
()
call
qsched_init
(
sched
,
num_threads
,
0
)
...
...
This diff is collapsed.
Click to expand it.
Aidan Chalk
@d74ksy
mentioned in merge request
!8
·
8 years ago
mentioned in merge request
!8
mentioned in merge request !8
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment