Changes between Version 6 and Version 7 of DataParallel/VectPragma


Ignore:
Timestamp:
Jun 21, 2011 1:36:59 PM (3 years ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v6 v7  
    1616'''Caveat:''' Currently, the type is indeed checked by the vectoriser by comparing Core types.  It would be better to perform that check in the type checker to instantiate the type of `f_v` appropriately if it is overly general.  At the moment, the vectorised version of `t` and the inferred type of `e` need to exactly match up (including all dictionaries ''and their order''). 
    1717 
    18 == The NOVECTORISE pragma == 
     18== The NOVECTORISE pragma for values == 
    1919 
    2020If a variable `f` is accompanied by a pragma 
     
    2727 
    2828 
    29 == The VECTORISE SCALAR pragma == 
     29== The VECTORISE SCALAR pragma for functions == 
    3030 
    3131Functions that contain no array computations, especially if they are cheap (such as `(+)`), should not be vectorised, but applied by simply mapping them over an array.  This could be achieved by using the `VECTORISE` pragma with an appropriate right-hand side, but leads to repetitive code that we rather like the compiler to generate.