Add suballocator for ordinary VRAM allocations smaller than 2MB.

Track pointer info for sub 2MB fragment allocations in allocation_map_.

Add fragment support to IPC.

Change-Id: I00cfc2e2fa289aac90a4718c392f9bb056a61a87
This commit is contained in:
Sean Keely
2017-09-11 20:31:20 -05:00
والد ae4a9c4d91
کامیت 117be0b55a
8فایلهای تغییر یافته به همراه448 افزوده شده و 47 حذف شده
@@ -1488,7 +1488,7 @@ typedef struct hsa_amd_ipc_memory_s {
* any process. In general applications should confirm that a shared memory
* region has been attached (via hsa_amd_ipc_memory_attach) in the remote
* process prior to releasing that memory in the local process.
* Repeated calls for the same allocaiton may, but are not required to, return
* Repeated calls for the same allocation may, but are not required to, return
* unique handles.
*
* @param[in] ptr Pointer to memory allocated via ROCr APIs to prepare for