You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The execution of the following codes is slower than GFortran.
test.f90
module d
type mytype1
integer:: x,y,z
end type
end module
subroutineddaofn050(lhs,rhs)
use d
type(mytype1) :: rhs(:)
type(mytype1) :: lhs(:)
integer i
forall(i=lbound(lhs,1):ubound(lhs,1)-3)
lhs(i+3) = lhs(i)
end forall
endsubroutine
main.f90
use d
implicit noneinteger, parameter:: count =1000integer:: i,j,k
type(mytype1) :: t1(100),t2(100)
real:: start_t, end_t
interface
subroutineddaofn050(lhs,rhs)
use d
type(mytype1) :: rhs(:)
type(mytype1) :: lhs(:)
endsubroutine
end interface
call cpu_time(start_t)
do i=1,count
do j=1,count
call ddaofn050(t1,t2)
end doend docall cpu_time(end_t)
print*, end_t - start_t
end
The execution of the following codes is slower than GFortran.
The text was updated successfully, but these errors were encountered: