This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, GNU GFortran <fortran at gcc dot gnu dot org>
- Date: Fri, 10 Apr 2015 18:57:41 +0200
- Subject: Re: [patch, fortran, RFC] First steps towards inlining matmul
- Authentication-results: sourceware.org; auth=none
- References: <20150405135519 dot AF21A105 at mailhost dot lps dot ens dot fr> <552147A3 dot 7000603 at netcologne dot de> <4DA1047C-92D3-485A-9457-61655ED14681 at lps dot ens dot fr> <55219D1C dot 6070507 at netcologne dot de> <9F588746-B32C-4919-AEFC-4EF5E6792001 at lps dot ens dot fr> <3916A939-23B3-4D17-B91C-8B6CC34CD7BC at lps dot ens dot fr> <5526FAAA dot 8010408 at netcologne dot de> <EB7BCB68-CD2A-4211-AC93-1EC0F475D822 at lps dot ens dot fr>
> Le 10 avr. 2015 à 16:15, Dominique d'Humières <dominiq@lps.ens.fr> a écrit :
>
>
>> 4. is required, I need to look at some more corner cases where bugs may still be lurking.
>
Compiling the polyhedron test rnflow.f90 after the patch gives an ICE
f951: internal compiler error: gfc_array_dimen_size(): Bad dimension
Reduced test extracted from the subroutine evlrnf:
subroutine evlrnf (ptrs0t, nclsm, prnf0t)
real, dimension (1:nclsm,1:nclsm), intent (in) :: ptrs0t
integer, intent (in) :: nclsm ! nombre de classes
real, dimension (1:nclsm,1:nclsm), intent (out):: prnf0t
real, allocatable, dimension (:,:) :: utrsft ! probas up
real, allocatable, dimension (:) :: vwrkft
real, allocatable, dimension (:) :: vwrk2t
ncls = nclsm
allocate (utrsft (1:ncls,1:ncls))
allocate (vwrkft (1:ncls))
allocate (vwrk2t (1:ncls))
vwrk2t = matmul (utrsft, vwrkft) ! U Fk
deallocate (utrsft)
deallocate (vwrk2t)
deallocate (vwrkft)
end subroutine evlrnf
Dominique
- References:
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique Dhumieres
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique d'Humières
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique d'Humières
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique d'Humières
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Dominique d'Humières