Changes between Version 39 and Version 40 of DataParallel/VectPragma


Ignore:
Timestamp:
Aug 18, 2012 6:57:26 AM (3 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v39 v40  
    118118 * Maybe `VECTORISE ABSTRACT` would be a better name as it doesn't guarantee that the type constructor can be used in scalar code that doesn't need to be vectorised. It just means that the data constructors can '''only''' be used in scalar code — i.e., the vectoriser treats it as an abstract type.
    119119
     120== The NOVECTORISE pragma for types ==
     121
     122If a type constructor `T` is accompanied by a pragma
     123{{{
     124{-# NOVECTORISE type T #-}
     125}}}
     126then it is ignored by the vectoriser — i.e., no type `T_v`  and no class instances are generated.
     127
     128This pragma can only be used for definitions in the current module.
     129
    120130== The VECTORISE pragma for type classes ==
    121131