Changes between Version 47 and Version 48 of DataParallel/VectPragma


Ignore:
Timestamp:
Aug 20, 2012 3:01:15 AM (20 months ago)
Author:
chak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/VectPragma

    v47 v48  
    8585{-# VECTORISE SCALAR type T = T' #-} 
    8686}}} 
    87 directs the vectoriser to replace `T` by `T'` in vectorised code, but the type is abstract — i.e., its constructors cannot be used in vectorised code. Although, the representation of the types changes during vectorisation, it is still regarded as scalar, and hence, can be used in encapsulated scalar code. 
     87directs the vectoriser to replace `T` by `T'` in vectorised code, but the type is abstract — i.e., its constructors cannot be used in vectorised code. Although, the representation of the type changes during vectorisation, it is still regarded as scalar, and hence, can be used in encapsulated scalar code. 
    8888 
    8989The type constructor `T` must be in scope, but it may be imported.  The `PData` and `PRepr` instances for `T` need to be manually defined.