Skip to content

Commit 6019607

Browse files
authored
Clarify documentation for zeKernelGetSourceAttributes (#334)
Signed-off-by: Russell McGuire <[email protected]>
1 parent 604af09 commit 6019607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/core/module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ params:
562562
name: pString
563563
desc: |
564564
[in,out][optional] pointer to application-managed character array (string data).
565-
If NULL, the string length of the kernel source attributes, including a null-terminating character, is returned in pSize.
566-
Otherwise, pString must point to valid application memory that is greater than or equal to *pSize bytes in length, and on return the pointed-to string will contain a space-separated list of kernel source attributes.
565+
If NULL, the string length of the kernel source attributes, including a null-terminating character, is returned in pSize. Otherwise, pString must point to valid application memory that is greater than or equal to *pSize bytes in length, and on return the pointed-to string will contain a space-separated list of kernel source attributes. Note: This API was originally intended to ship with a char *pString, however this typo was introduced. Thus the API has to stay this way for backwards compatible reasons. It can be corrected in v2.0. Suggestion is to create your own char *pString and then pass to this API with &pString.
566+
567567
--- #--------------------------------------------------------------------------
568568
type: enum
569569
desc: "Supported Cache Config flags"

0 commit comments

Comments
 (0)