You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If olMemAlloc happens to allocate memory that was already allocated
elsewhere (possibly by another device on another platform), it is now
thrown away and a new allocation generated.
A new `AllocBases` vector is now available, which is an ordered list
of allocation start addresses.
Copy file name to clipboardExpand all lines: offload/liboffload/API/Memory.td
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,9 @@ def ol_alloc_type_t : Enum {
21
21
22
22
def olMemAlloc : Function {
23
23
let desc = "Creates a memory allocation on the specified device.";
24
+
let details = [
25
+
"All allocations through olMemAlloc regardless of source share a single virtual address range. There is no risk of multiple devices returning equal pointers to different memory."
26
+
];
24
27
let params = [
25
28
Param<"ol_device_handle_t", "Device", "handle of the device to allocate on", PARAM_IN>,
26
29
Param<"ol_alloc_type_t", "Type", "type of the allocation", PARAM_IN>,
0 commit comments