Skip to content

Commit 83fb99c

Browse files
authored
Fix minor typos before 1.16 publishing (#455)
Signed-off-by: Russell McGuire <russell.w.mcguire@intel.com>
1 parent c001257 commit 83fb99c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/core/EXT_IPC_MEM_HANDLE_TYPE.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Before requesting a specific IPC handle type, users can query the driver to dete
4646

4747
.. parsed-literal::
4848
49-
${x}_ipc_properties_t ipcProps;
50-
${x}DeviceGetIpcProperties(hDevice, &ipcProps);
49+
${x}_driver_ipc_properties_t ipcProps;
50+
${x}DriverGetIpcProperties(hDriver, &ipcProps);
5151
5252
if (ipcProps.flags & ${X}_IPC_PROPERTY_FLAG_FABRIC_ACCESSIBLE) {
5353
// Driver supports fabric accessible IPC handles
@@ -75,7 +75,7 @@ To request an IPC handle for L0 memory that is fabric accessible, the user would
7575
7676
.. note::
7777

78-
If the driver does not support ``ZE_IPC_MEM_HANDLE_TYPE_FLAG_FABRIC_ACCESSIBLE``, the function will return ``ZE_RESULT_ERROR_UNSUPPORTED_FEATURE``. Applications can proactively check for support by querying ``${x}_ipc_properties_t`` as shown in the "Checking IPC Support" section above.
78+
If the driver does not support ``ZE_IPC_MEM_HANDLE_TYPE_FLAG_FABRIC_ACCESSIBLE``, the function will return ``ZE_RESULT_ERROR_UNSUPPORTED_FEATURE``. Applications can proactively check for support by querying ``${x}_driver_ipc_properties_t`` as shown in the "Checking IPC Support" section above.
7979

8080

8181
Memory Allocation Usage Example
@@ -120,4 +120,4 @@ To allocate L0 memory with an IPC handle that is fabric accessible, the user wou
120120
121121
.. note::
122122

123-
If the driver does not support ``ZE_IPC_MEM_HANDLE_TYPE_FLAG_FABRIC_ACCESSIBLE``, the memory allocation functions (``zeMemAllocDevice``, ``zeMemAllocHost``, ``zePhysicalMemCreate``) will return ``ZE_RESULT_ERROR_UNSUPPORTED_FEATURE``. Applications can proactively check for support by querying ``${x}_ipc_properties_t`` as shown in the "Checking IPC Support" section above.
123+
If the driver does not support ``ZE_IPC_MEM_HANDLE_TYPE_FLAG_FABRIC_ACCESSIBLE``, the memory allocation functions (``zeMemAllocDevice``, ``zeMemAllocHost``, ``zePhysicalMemCreate``) will return ``ZE_RESULT_ERROR_UNSUPPORTED_FEATURE``. Applications can proactively check for support by querying ``${x}_driver_ipc_properties_t`` as shown in the "Checking IPC Support" section above.

scripts/core/SPIRV.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ declare the **GlobalVariableHostAccessINTEL** SPIR-V capability:
700700

701701
The function ${x}ModuleGetGlobalPointer can be used to retrieve a pointer to a global variable.
702702

703-
${x}ModuleGetGlobalPointer takes a ``pGlobalName`` parameter which identifies the variable. For a ``${x}_module_handle`` created
703+
${x}ModuleGetGlobalPointer takes a ``pGlobalName`` parameter which identifies the variable. For a ``${x}_module_handle_t`` created
704704
from SPIR-V this parameter is interpreted as follows:
705705

706706
- The implementation first looks for an **OpVariable** that is decorated with **HostAccessINTEL** where

0 commit comments

Comments
 (0)