mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update fortran90.html.markdown
Requested change done
This commit is contained in:
parent
8c78bb13d9
commit
1f71450a4c
@ -437,7 +437,8 @@ contains
|
||||
end module fruity
|
||||
|
||||
|
||||
! ISO Standard Fortran 2008 introduced the DO CONCURRENT construct to allow you to express loop-level parallelism
|
||||
! ISO Standard Fortran 2008 introduced the DO CONCURRENT construct to allow you
|
||||
! to express loop-level parallelis
|
||||
|
||||
integer :: i
|
||||
real :: array(100)
|
||||
@ -447,7 +448,8 @@ DO CONCURRENT (i = 1:size(array))
|
||||
END DO
|
||||
|
||||
|
||||
! Only calls to pure functions are allowed inside the loop and we can declare multiple indices:
|
||||
! Only calls to pure functions are allowed inside the loop and we can declare
|
||||
! multiple indices:
|
||||
|
||||
integer :: x, y
|
||||
real :: array(8, 16)
|
||||
|
Loading…
Reference in New Issue
Block a user