6957202df8
IPC memory was previously returned as HSA_POINTER_ALLOCATED and had garbage in the node_id field. Due to ROCR_VISIBLE_DEVICES we need to be able to distinguish between imported memory and regular memory because imported memory may not be owned by an agent that is visible in the process. Differentiating these flags allows the users to expect null agent for the owning agent. Fixes Change-Id: Ide3489cec1ee2072dc9697fa5cb71ddb17999d14