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
Copy file name to clipboardExpand all lines: scripts/YaML.md
+1
Original file line number
Diff line number
Diff line change
@@ -336,6 +336,7 @@ plural form *enumerators* is abbreviated to `etors`.
336
336
- An etor requires the following scalar fields: {`name`, `desc`}
337
337
+`desc` will be used as the etors's description comment
338
338
+ If the enum has `typed_etors`, `desc` must begin with type identifier: {`"[type]"`}
339
+
+`desc` may contain the [optional-query] annotation. This denotes the etor as an info query which is optional for adapters to implement, and may legally result in a non-success error code.
339
340
+`name` must be a unique ISO-C standard identifier, and be all caps
340
341
- An etor may take the following optional scalar field: {`value`, `version`}
desc: "[uint32_t][optional-query] return Intel GPU EU count"
385
385
- name: GPU_EU_SIMD_WIDTH
386
-
desc: "[uint32_t] return Intel GPU EU SIMD width"
386
+
desc: "[uint32_t][optional-query] return Intel GPU EU SIMD width"
387
387
- name: GPU_EU_SLICES
388
-
desc: "[uint32_t] return Intel GPU number of slices"
388
+
desc: "[uint32_t][optional-query] return Intel GPU number of slices"
389
389
- name: GPU_EU_COUNT_PER_SUBSLICE
390
-
desc: "[uint32_t] return Intel GPU EU count per subslice"
390
+
desc: "[uint32_t][optional-query] return Intel GPU EU count per subslice"
391
391
- name: GPU_SUBSLICES_PER_SLICE
392
-
desc: "[uint32_t] return Intel GPU number of subslices per slice"
392
+
desc: "[uint32_t][optional-query] return Intel GPU number of subslices per slice"
393
393
- name: GPU_HW_THREADS_PER_EU
394
-
desc: "[uint32_t] return Intel GPU number of threads per EU"
394
+
desc: "[uint32_t][optional-query] return Intel GPU number of threads per EU"
395
395
- name: MAX_MEMORY_BANDWIDTH
396
-
desc: "[uint32_t] return max memory bandwidth in Mb/s"
396
+
desc: "[uint32_t][optional-query] return max memory bandwidth in Mb/s"
397
397
- name: IMAGE_SRGB
398
398
desc: "[$x_bool_t] device supports sRGB images"
399
399
- name: BUILD_ON_SUBDEVICE
@@ -418,7 +418,7 @@ etors:
418
418
- name: KERNEL_SET_SPECIALIZATION_CONSTANTS
419
419
desc: "[$x_bool_t] support the $xKernelSetSpecializationConstants entry point"
420
420
- name: MEMORY_BUS_WIDTH
421
-
desc: "[uint32_t] return the width in bits of the memory bus interface of the device."
421
+
desc: "[uint32_t][optional-query] return the width in bits of the memory bus interface of the device."
422
422
- name: MAX_WORK_GROUPS_3D
423
423
desc: "[size_t[3]] return max 3D work groups"
424
424
- name: ASYNC_BARRIER
@@ -428,9 +428,9 @@ etors:
428
428
- name: HOST_PIPE_READ_WRITE_SUPPORTED
429
429
desc: "[$x_bool_t] Return true if the device supports enqueueing commands to read and write pipes from the host."
430
430
- name: MAX_REGISTERS_PER_WORK_GROUP
431
-
desc: "[uint32_t] The maximum number of registers available per block."
431
+
desc: "[uint32_t][optional-query] The maximum number of registers available per block."
432
432
- name: IP_VERSION
433
-
desc: "[uint32_t] The device IP version. The meaning of the device IP version is implementation-defined, but newer devices should have a higher version than older devices."
433
+
desc: "[uint32_t][optional-query] The device IP version. The meaning of the device IP version is implementation-defined, but newer devices should have a higher version than older devices."
434
434
- name: VIRTUAL_MEMORY_SUPPORT
435
435
desc: "[$x_bool_t] return true if the device supports virtual memory."
0 commit comments