Skip to content
  • Kenneth Moreland's avatar
    Preserve data in ArrayHandle::ReleaseResourcesExecution · 2f781dfe
    Kenneth Moreland authored
    Previously when ReleaseResourcesExecution was called, the method blindly
    deleted the execution array regardless of whether there was a valid copy
    in the control environment. This could potentially lose data. What if
    someone wanted to conserve memory on the device by clearing the array of
    an output array?
    
    There is also now an internal method that blindly deletes the array.
    This is good for internal functions that are doing something to
    invalidate the execution data anyway.
    2f781dfe