Changes between Version 32 and Version 33 of DataParallel/VectPragma


Ignore:
Timestamp:
Oct 26, 2011 12:14:02 AM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v32 v33  
    123123indicates that the class instance `C t` should be automatically vectorised, even if it is imported.  This implies that all class methods making up the instance dfun are vectorised separately to combine into a vectorised diun.  This is the default for all class instances declared in the current module.
    124124
     125`C t` must exactly match a single instance declaration provided for `C`.
     126
    125127== The VECTORISE SCALAR pragma for class instances ==
    126128
     
    131133indicates that the instance dfun `C t` should vectorised by proceeding as for `VECTORISE SCALAR` on each individual class method of `C`.
    132134
     135`C t` must exactly match a single instance declaration provided for `C`.
     136
    133137An example is `{-# VECTORISE SCALAR instance Num Int #-}`.
    134138