complex(8), value :: triggers internal compiler error

Hi,

In case anybody cares, this (trivial) kernel:

attributes(global) subroutine kernel_add_kets(src,dst,wgt)
complex(8), device :: src(:,:), dst(:,:)
complex(8), value :: wgt
end subroutine kernel_add_kets

triggers an internal compiler error with 10.9 compilers (pgf90 -fast -Mcuda=cc20):

PGF90-S-0000-Internal compiler error. unrec dtype in cp_iregarg 12

Have fun,

Serguei

Hi Serguei,

Thank you for your post. This is a known issue having to do with passing complex variables by value. This error will be addressed in the upcoming 2011 release of the compilers.

Best Regards,
Mat

Your complex type problem has been corrected in the 11.7 release.
Thanks again for the submission.

dave