Skip to content

Commit 7c775c8

Browse files
committed
Add return to validate launchPropList == nullptr.
1 parent 1d56f41 commit 7c775c8

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

unified-runtime/include/ur_api.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/scripts/core/enqueue.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ returns:
127127
- $X_RESULT_ERROR_OUT_OF_RESOURCES
128128
- $X_RESULT_ERROR_INVALID_OPERATION:
129129
- "If any property in `launchPropList` isn't supported by the device."
130+
- $X_RESULT_ERROR_INVALID_NULL_POINTER:
131+
- "`launchPropList == NULL && numPropsInLaunchPropList > 0`"
130132
--- #--------------------------------------------------------------------------
131133
type: function
132134
desc: "Enqueue a command which waits a list of events to complete before it completes"

unified-runtime/source/loader/layers/validation/ur_valddi.cpp

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/source/loader/ur_libapi.cpp

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/source/ur_api.cpp

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)