You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements to align CTS and Spec for Device (#16746)
Migrated from oneapi-src#2597
- Rework urDeviceGetInfoTest to move all enums to their own tests
instead of a switch case -
oneapi-src#2290
- Remove the UR/OpenCL Device enum map function - no point maintaining
both a switch case and a separate mapping function
- Update some spec wording for consistency
- Add missing Device info enums to OpenCL adapater
- Add new urDevicePartition test for checking
UR_DEVICE_INFO_PARENT_DEVICE
- Move UUR_RETURN_ON_FATAL_FAILURE and UUR_ASSERT_SUCCESS_OR_UNSUPPORTED
to join similar macros in checks.h
- Update spec to say info queries that return char[] are null-terminated
- Add missing unsupported device enums to HIP adapter
- Reverted bindless image types back to size_t
- Moved ComponentDevices test to a separate PlatformTest derived fixture
- Added new ASSERT_QUERY_RETURNS_VALUE macro as a helper to validate
simple numerical GetInfo queries
- Added new stringPropertyIsValid helper function to validate string
queries
- Add missing unsupported device enums to HIP adapter
Copy file name to clipboardExpand all lines: scripts/core/program.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -381,11 +381,11 @@ etors:
381
381
[$x_device_handle_t[]] Return list of devices associated with a program.
382
382
This is either the list of devices associated with the context or a subset of those devices when the program is created using $xProgramCreateWithBinary.
383
383
- name: IL
384
-
desc: "[char[]] Return program IL if the program was created with $xProgramCreateWithIL, otherwise return size will be set to 0 and nothing will be returned."
384
+
desc: "[char[]] Return program IL if the program was created with $xProgramCreateWithIL, otherwise return size will be set to 0 and nothing will be returned. This is not null-terminated."
385
385
- name: BINARY_SIZES
386
386
desc: "[size_t[]] Return program binary sizes for each device."
387
387
- name: BINARIES
388
-
desc: "[unsigned char[]] Return program binaries for all devices for this Program."
388
+
desc: "[unsigned char[]] Return program binaries for all devices for this Program. These are not null-terminated."
389
389
- name: NUM_KERNELS
390
390
desc: "[size_t][optional-query] Number of kernels in Program, return type size_t."
0 commit comments