59685f4492
ROCr internally uses the same allocation_map_ list to track memory allocations that are both for internal allocations and allocations by users of ROCr library. In some edge cases, the library user would call hsa_amd_pointer_info on an invalid pointer, but ROCR would return the pointer as valid because this pointer belongs to a memory range that was allocated internally within ROCr. Adding a flag to differentiate between internal and external allocations. Change-Id: I98c52bd85f3985d1ba1b0e3101d2254b003412cf