Changes between Version 5 and Version 6 of Notes_on_CUDA_Semantics


Ignore:
Timestamp:
06/13/14 13:22:45 (12 years ago)
Author:
andrevm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Notes_on_CUDA_Semantics

    v5 v6  
    158158Ideas:
    159159
     160=== Thread Hierarchy Translation ===
     161
    160162For each kernel `K`, create a function `__kernel_K` that takes the same arguments as K in addition to the execution configuration parameters.
    161163In the transformed program, `__kernel_K` is called wherever `K` was called in the original.
     
    184186}
    185187}}}
     188
     189=== Memory Hierarchy Translation ===
    186190
    187191To help enforce the Cuda memory hierarchy, we introduce two root level variables, $host_scope and $device_scope. Here is the proposed layout.