- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
just a quick question on inling, if I have a routine like:
subroutine outermultiply(a,b,c)
implicit none
real :: a,b,c
call innermultiply(a,b,c)
contains
subroutine innermultiply(a,b,c)
implicit none
real :: a,b,c
c = a * b
return
end subroutine innermultiply
end subroutine
If I have the optmization swithed on and I call outermultiply roiutine will the inner routime be inlined?
I have run some prifiling tool and it seems to me that it is inlined but I am not quite sure.
Thanks Luca
just a quick question on inling, if I have a routine like:
subroutine outermultiply(a,b,c)
implicit none
real :: a,b,c
call innermultiply(a,b,c)
contains
subroutine innermultiply(a,b,c)
implicit none
real :: a,b,c
c = a * b
return
end subroutine innermultiply
end subroutine
If I have the optmization swithed on and I call outermultiply roiutine will the inner routime be inlined?
I have run some prifiling tool and it seems to me that it is inlined but I am not quite sure.
Thanks Luca
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page