Changes between Version 11 and Version 12 of Library_IR


Ignore:
Timestamp:
12/14/15 09:54:27 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Library_IR

    v11 v12  
    6969=== `bundle` utility ===
    7070* Types
    71  * `Bundle`: a union type of all system types and user-defined types of a given program
    72 * `fun[lib="bundle", pure] $bundle_size(b: Bundle): Integer`
     71 * `$bundle`: a union type of all system types and user-defined types of a given program
     72* `fun[lib="bundle", pure] $bundle_size(b: $bundle): Integer`
    7373 * returns the size of the given bundle
    74 * `fun[lib="bundle"] $bundle_pack(ptr: Pointer, size: Integer): Bundle`
     74* `fun[lib="bundle"] $bundle_pack(ptr: Pointer, size: Integer): $bundle`
    7575 * packs data into a bundle
    76 * `fun[lib="bundle"] $bundle_unpack(bundle: Bundle, ptr: Pointer)`
     76* `fun[lib="bundle"] $bundle_unpack(bundle: $bundle, ptr: Pointer)`
    7777 * unpack a bundle
    78 * `fun[lib="bundle"] $bundle_unpack_apply(data: Bundle, buf: Pointer, size: Integer, op: Operation)`
     78* `fun[lib="bundle"] $bundle_unpack_apply(data: $bundle, buf: Pointer, size: Integer, op: $operation)`
    7979 * unpack a bundle and apply some operation to the data
    8080
     
    8282
    8383==== barrier operations ====
    84 * `fun[lib="concurrency"] $gbarrier_create(scope: Scope, size: Integer): GBarrier`
     84* Types
     85 * `$gbarrier`: the global barrier, a handle type
     86 * `$barrier`: the local barrier, a handle type
     87* `fun[lib="concurrency"] $gbarrier_create(scope: Scope, size: Integer): $gbarrier`
    8588 * global barrier creation
    86 * `fun[lib="concurreny"] $gbarrier_destroy(barrier: Gbarrier)`
     89* `fun[lib="concurreny"] $gbarrier_destroy(barrier: $gbarrier)`
    8790 * global barrier destroy
    88 * `fun[lib="concurrency"] $barrier_create(scope: Scope, gbarrier: Gbarrier, place: Integer): Barrier`
     91* `fun[lib="concurrency"] $barrier_create(scope: Scope, gbarrier: $gbarrier, place: Integer): $barrier`
    8992 * local barrier creation
    90 * `fun[lib="concurrency"] $barrier_destroy(barrier: Barrier)`
     93* `fun[lib="concurrency"] $barrier_destroy(barrier: $barrier)`
    9194 * local barrier destroy
    92 *  `fun $barrier_call(barrier: Barrier)`
     95*  `fun $barrier_call(barrier: $barrier)`
    9396 * barrier call
    9497