Changes between Version 38 and Version 39 of OpenMPTransformation


Ignore:
Timestamp:
06/10/14 14:00:57 (12 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenMPTransformation

    v38 v39  
    5151=== Team creation and destruction ===
    5252
    53 * `$omp_gteam $omp_gteam_create($scope scope, int threads)`
     53* `$omp_gteam $omp_gteam_create($scope scope, int nthreads)`
     54 * creates new global team object, allocating object in heap in specified scope.  Number of threads that will be in the team is `nthreads`.
    5455* `void $omp_gteam_destroy($omp_gteam gteam)`
     56 * destroys the global team object.  All shared objects associated to the team must have been destroyed before calling this function.
    5557* `$omp_team $omp_team_create($scope scope, $omp_gteam gteam, int tid)`
     58 * creates new local team object for a specific thread.
    5659* `void $omp_team_destroy($omp_team team)`
     60 * destroys the local team object
    5761
    5862=== Shared variables ===
    5963
    6064* `$omp_gshared $omp_gshared_create($omp_gteam, void *original)`
     65 * creates new global shared object, associated to the given global team.  A pointer to the shared variable that this object corresponds to is given.  The new object is initialized by copying the values from the original variable.
    6166* `void $omp_gshared_destroy($omp_gshared gshared)`
     67 * destroys the global shared object, copying the context to the original variable
    6268* `$omp_shared $omp_shared_create($omp_team team, $omp_gshared gshared)`
     69 * creates a local shared object, returning handle to it
    6370* `void $omp_shared_destroy($omp_shared shared)`
     71 * destroys the local shared object
    6472* `$omp_ref $omp_identity_ref($omp_shared shared)`
     73 * creates a reference to the specified shared object
    6574* `$omp_ref $omp_array_element_ref($omp_ref ref, int index)`
    66 * `$omp_ref $omp_member_ref($omp_ref, int fieldIndex)`
     75 * creates a reference to an element of a shared array object.  Argument `ref` is a reference to shared object of array type.
     76* `$omp_ref $omp_member_ref($omp_ref ref, int fieldIndex)`
     77 * creates a reference to a member of a structure or union shared object.  Argument `ref` is a reference to the shared object of structure or union type.
    6778* `void $omp_read(void *result, $omp_ref ref)`
    6879 * called by a thread to read a shared object pointed to by `ref`.  The result of the read is stored in the memory unit pointed to by `result`.
     
    8697* `int $omp_arrive_single($omp_team team)`
    8798 * called by a thread when it reaches on omp single construct, returns the thread ID of the thread that will execute the single construct.
    88 
    89 
    90 
    91 
    9299
    93100