Changes between Version 2 and Version 3 of DataParallel/VectPragma


Ignore:
Timestamp:
Jun 21, 2011 1:13:00 PM (4 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v2 v3  
    1313}}}
    1414then the vectoriser defines `f_v = e` and refrains from rebinding `f`.  This implies that for `f :: t`, `e`'s type is the `t` vectorised (in particular), `e`'s type uses the array closure type `(:->)` instead of the vanilla function space `(->)`.
     15
     16
     17== The NOVECTORISE pragma ==
     18
     19If a function `f` is accompanied by a pragma
     20{{{
     21{-# NOVECTORISE f #-}
     22}}}
     23then it is ignored by the vectoriser — i.e., no function `f_v` is generated and `f` is left untouched.
     24
     25'''Caveat:''' If `f`'s definition contains bindings that are being floated to the toplevel, those bindings will still be vectorised.
     26
     27== VECTORISE SCALAR ==