@@ -38,8 +38,8 @@ def : Function {
3838 let name = "offloadDeviceGetCount";
3939 let desc = "Retrieves the number of available devices within a platform";
4040 let params = [
41- Param<"offload_platform_handle_t", "hPlatform ", "handle of the platform instance", PARAM_IN>,
42- Param<"uint32_t*", "pNumDevices ", "pointer to the number of devices.", PARAM_OUT>
41+ Param<"offload_platform_handle_t", "Platform ", "handle of the platform instance", PARAM_IN>,
42+ Param<"uint32_t*", "NumDevices ", "pointer to the number of devices.", PARAM_OUT>
4343 ];
4444 let returns = [];
4545}
@@ -52,9 +52,9 @@ def : Function {
5252 "The application may call this function from simultaneous threads, the implementation must be thread-safe"
5353 ];
5454 let params = [
55- Param<"offload_platform_handle_t", "hPlatform ", "handle of the platform instance", PARAM_IN>,
55+ Param<"offload_platform_handle_t", "Platform ", "handle of the platform instance", PARAM_IN>,
5656 Param<"uint32_t", "NumEntries", "the number of devices to be added to phDevices, which must be greater than zero", PARAM_IN>,
57- RangedParam<"offload_device_handle_t*", "phDevices ", "Array of device handles. "
57+ RangedParam<"offload_device_handle_t*", "Devices ", "Array of device handles. "
5858 "If NumEntries is less than the number of devices available, then this function shall only retrieve that number of devices.", PARAM_OUT,
5959 Range<"0", "NumEntries">>
6060 ];
@@ -73,20 +73,20 @@ def : Function {
7373 "The implementation of this function should be lock-free."
7474 ];
7575 let params = [
76- Param<"offload_device_handle_t", "hDevice ", "handle of the device instance", PARAM_IN>,
77- Param<"offload_device_info_t", "propName ", "type of the info to retrieve", PARAM_IN>,
78- Param<"size_t", "propSize ", "the number of bytes pointed to by pPropValue .", PARAM_IN>,
79- TypeTaggedParam<"void*", "pPropValue ", "array of bytes holding the info. If propSize is not equal to or greater than the real "
76+ Param<"offload_device_handle_t", "Device ", "handle of the device instance", PARAM_IN>,
77+ Param<"offload_device_info_t", "PropName ", "type of the info to retrieve", PARAM_IN>,
78+ Param<"size_t", "PropSize ", "the number of bytes pointed to by PropValue .", PARAM_IN>,
79+ TypeTaggedParam<"void*", "PropValue ", "array of bytes holding the info. If PropSize is not equal to or greater than the real "
8080 "number of bytes needed to return the info then the OFFLOAD_ERRC_INVALID_SIZE error is returned and "
81- "pPropValue is not used.", PARAM_OUT, TypeInfo<"propName " , "propSize ">>
81+ "PropValue is not used.", PARAM_OUT, TypeInfo<"PropName " , "PropSize ">>
8282 ];
8383 let returns = [
8484 Return<"OFFLOAD_ERRC_UNSUPPORTED_ENUMERATION", [
85- "If `propName ` is not supported by the device."
85+ "If `PropName ` is not supported by the device."
8686 ]>,
8787 Return<"OFFLOAD_ERRC_INVALID_SIZE", [
88- "`propSize == 0`",
89- "If `propSize ` is less than the real number of bytes needed to return the info."
88+ "`PropSize == 0`",
89+ "If `PropSize ` is less than the real number of bytes needed to return the info."
9090 ]>,
9191 Return<"OFFLOAD_ERRC_INVALID_DEVICE">
9292 ];
@@ -100,13 +100,13 @@ def : Function {
100100 "The implementation of this function should be lock-free."
101101 ];
102102 let params = [
103- Param<"offload_device_handle_t", "hDevice ", "handle of the device instance", PARAM_IN>,
104- Param<"offload_device_info_t", "propName ", "type of the info to retrieve", PARAM_IN>,
105- Param<"size_t*", "pPropSizeRet ", "pointer to the number of bytes required to store the query", PARAM_OUT>
103+ Param<"offload_device_handle_t", "Device ", "handle of the device instance", PARAM_IN>,
104+ Param<"offload_device_info_t", "PropName ", "type of the info to retrieve", PARAM_IN>,
105+ Param<"size_t*", "PropSizeRet ", "pointer to the number of bytes required to store the query", PARAM_OUT>
106106 ];
107107 let returns = [
108108 Return<"OFFLOAD_ERRC_UNSUPPORTED_ENUMERATION", [
109- "If `propName ` is not supported by the device."
109+ "If `PropName ` is not supported by the device."
110110 ]>,
111111 Return<"OFFLOAD_ERRC_INVALID_DEVICE">
112112 ];
0 commit comments