(j3.2006) TKR for C Interop

Bill Long longb
Tue Feb 27 20:28:21 EST 2007



Aleksandar Donev wrote:

>
>Should type and/or rank information be included in the descriptors, that is, 
>when one creates a descriptor one must supply them, and one can get them out 
>of a descriptor previously created? [The old proposal does this for rank 
>only.]
>

Yes.

>
>If the answer is yes, then there better be some use for it. If one cannot use 
>the same C procedure to handle arguments of different type and rank, then 
>including TKR info in the API is useless, and adds burden to the programmer 
>(since it complicates the descriptor API).
>

That was not at all the primary motivation for including tkr information 
in the descriptor.  The reason was to give vendors enough information to 
create valid dope vectors.  Not just one vendor, but all the vendors.  
This is a basic implementation and performance issue.  To say that the 
TKR information is "useless" without these other features is just nonsense.

Cheers,
Bill

-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            





More information about the J3 mailing list