Skip to content
  • Tobias Grosser's avatar
    [GPGPU] Ensure arrays where only parts are modified are copied to GPU · d58acf86
    Tobias Grosser authored
    To do so we change the way array exents are computed. Instead of the precise
    set of memory locations accessed, we now compute the extent as the range between
    minimal and maximal address in the first dimension and the full extent defined
    by the sizes of the inner array dimensions.
    
    We also move the computation of the may_persist region after the construction
    of the arrays, as it relies on array information. Without arrays being
    constructed no useful information is computed at all.
    
    llvm-svn: 278212
    d58acf86
Loading