diff options
Diffstat (limited to 'offload/liboffload/API/Program.td')
| -rw-r--r-- | offload/liboffload/API/Program.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/offload/liboffload/API/Program.td b/offload/liboffload/API/Program.td index 8c88fe6e21e6..0476fa1f7c27 100644 --- a/offload/liboffload/API/Program.td +++ b/offload/liboffload/API/Program.td @@ -13,7 +13,9 @@ def : Function { let name = "olCreateProgram"; let desc = "Create a program for the device from the binary image pointed to by `ProgData`."; - let details = []; + let details = [ + "The provided `ProgData` will be copied and need not outlive the returned handle", + ]; let params = [ Param<"ol_device_handle_t", "Device", "handle of the device", PARAM_IN>, Param<"const void*", "ProgData", "pointer to the program binary data", PARAM_IN>, |
