Changes between Version 8 and Version 9 of DataParallel/VectPragma


Ignore:
Timestamp:
Jun 23, 2011 11:51:19 AM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v8 v9  
    5959}}}
    6060
     61'''TODO:'''
     62 * Maybe don't have a rhs, but make this pragma mean that `T` should be vectorised as if the module containing `T` would have been vectorised.  (Post-hoc vectorisation of a data type.)
    6163
    6264== The VECTORISE SCALAR pragma for type constructors ==
    6365
     66For a type constructor `T`, the pragma
    6467{{{
    6568{-# VECTORISE SCALAR T #-}
    6669}}}
    67 The type constructor `T` must be in scope, but may be imported.
     70indicates that the type is scalar; i.e., it has no embedded arrays.  Note that the type cannot be parameterised (as we could not rule out that any of the type parameters at a usage site is an array type.)
     71
     72The type constructor `T` must be in scope, but it may be imported.