Skip to content

Commit 273a307

Browse files
authored
Clarify language for pString parameter of zeKernelGetSourceAttributes (#67)
1 parent 4267174 commit 273a307

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/core/module.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,13 @@ params:
557557
desc: "[in] handle of the kernel object"
558558
- type: "uint32_t*"
559559
name: pSize
560-
desc: "[in,out] pointer to size of string in bytes."
560+
desc: "[in,out] pointer to size of string in bytes, including null-terminating character."
561561
- type: "char**"
562562
name: pString
563-
desc: "[in,out] pointer to null-terminated string, whose lifetime is tied to the kernel object, where kernel source attributes are separated by space."
563+
desc: |
564+
[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.
564567
--- #--------------------------------------------------------------------------
565568
type: enum
566569
desc: "Supported Cache Config flags"

0 commit comments

Comments
 (0)