Changes between Version 32 and Version 33 of DataParallel/VectPragma
- Timestamp:
- 10/25/11 17:14:02 (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DataParallel/VectPragma
v32 v33 123 123 indicates 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. 124 124 125 `C t` must exactly match a single instance declaration provided for `C`. 126 125 127 == The VECTORISE SCALAR pragma for class instances == 126 128 … … 131 133 indicates that the instance dfun `C t` should vectorised by proceeding as for `VECTORISE SCALAR` on each individual class method of `C`. 132 134 135 `C t` must exactly match a single instance declaration provided for `C`. 136 133 137 An example is `{-# VECTORISE SCALAR instance Num Int #-}`. 134 138
