@@ -1575,8 +1575,8 @@ objects returned by [api]#device::get_devices#.
15751575
15761576A device can be partitioned into multiple devices, by calling the
15771577[code]#device::create_sub_devices# member function template.
1578- The resulting [code]#device# objects are considered sub devices, and it is valid
1579- to partition these sub devices further.
1578+ The resulting [code]#device# objects are considered sub- devices, and it is valid
1579+ to partition these sub- devices further.
15801580The range of support for this feature is <<backend>> and device specific and can
15811581be queried for through [api]#device::get_info#.
15821582
@@ -1750,13 +1750,13 @@ std::vector<device> create_sub_devices(std::size_t count) const
17501750_Constraints:_ Available only when [code]#Prop# is
17511751[api]#info::partition_property::partition_equally#.
17521752
1753- _Returns:_ A [code]#std::vector# of sub devices partitioned from this
1753+ _Returns:_ A [code]#std::vector# of sub- devices partitioned from this
17541754[code]#device# object based on the [code]#count# parameter.
1755- The returned vector contains as many sub devices as can be created such that
1756- each sub device contains [code]#count# compute units.
1755+ The returned vector contains as many sub- devices as can be created such that
1756+ each sub- device contains [code]#count# compute units.
17571757If the device's total number of compute units (as returned by
17581758[api]#info::device::max_compute_units#) is not evenly divided by [code]#count#,
1759- then the remaining compute units are not included in any of the sub devices.
1759+ then the remaining compute units are not included in any of the sub- devices.
17601760
17611761_Throws:_
17621762
@@ -1779,9 +1779,9 @@ std::vector<device> create_sub_devices(const std::vector<std::size_t>& counts) c
17791779_Constraints:_ Available only when [code]#Prop# is
17801780[api]#info::partition_property::partition_by_counts#.
17811781
1782- _Returns:_ A [code]#std::vector# of sub devices partitioned from this
1782+ _Returns:_ A [code]#std::vector# of sub- devices partitioned from this
17831783[code]#device# object based on the [code]#counts# parameter.
1784- For each non-zero value _M_ in the [code]#counts# vector, a sub device with _M_
1784+ For each non-zero value _M_ in the [code]#counts# vector, a sub- device with _M_
17851785compute units is created.
17861786
17871787_Throws:_
@@ -1792,7 +1792,7 @@ _Throws:_
17921792
17931793* An [code]#exception# with the [code]#errc::invalid# error code if the number
17941794 of non-zero values in [code]#counts# exceeds the device's maximum number of
1795- sub devices (as returned by [api]#info::device::partition_max_sub_devices#) or
1795+ sub- devices (as returned by [api]#info::device::partition_max_sub_devices#) or
17961796 if the total of all the values in the [code]#counts# vector exceeds the total
17971797 number of compute units in the device (as returned by
17981798 [api]#info::device::max_compute_units#).
@@ -1810,32 +1810,32 @@ create_sub_devices(info::partition_affinity_domain domain) const
18101810_Constraints:_ Available only when [code]#Prop# is
18111811[api]#info::partition_property::partition_by_affinity_domain#.
18121812
1813- _Returns:_ A [code]#std::vector# of sub devices partitioned from this
1813+ _Returns:_ A [code]#std::vector# of sub- devices partitioned from this
18141814[code]#device# object based on the [code]#domain# parameter, which must be one
18151815of the following values:
18161816
1817- * [api]#info::partition_affinity_domain::numa#: Split the device into sub
1818- devices comprised of compute units that share a NUMA node.
1817+ * [api]#info::partition_affinity_domain::numa#: Split the device into
1818+ sub- devices comprised of compute units that share a NUMA node.
18191819
1820- * [api]#info::partition_affinity_domain::L4_cache#: Split the device into sub
1821- devices comprised of compute units that share a level 4 data cache.
1820+ * [api]#info::partition_affinity_domain::L4_cache#: Split the device into
1821+ sub- devices comprised of compute units that share a level 4 data cache.
18221822
1823- * [api]#info::partition_affinity_domain::L3_cache#: Split the device into sub
1824- devices comprised of compute units that share a level 3 data cache.
1823+ * [api]#info::partition_affinity_domain::L3_cache#: Split the device into
1824+ sub- devices comprised of compute units that share a level 3 data cache.
18251825
1826- * [api]#info::partition_affinity_domain::L2_cache#: Split the device into sub
1827- devices comprised of compute units that share a level 2 data cache.
1826+ * [api]#info::partition_affinity_domain::L2_cache#: Split the device into
1827+ sub- devices comprised of compute units that share a level 2 data cache.
18281828
1829- * [api]#info::partition_affinity_domain::L1_cache#: Split the device into sub
1830- devices comprised of compute units that share a level 1 data cache.
1829+ * [api]#info::partition_affinity_domain::L1_cache#: Split the device into
1830+ sub- devices comprised of compute units that share a level 1 data cache.
18311831
18321832* [api]#info::partition_affinity_domain::next_partitionable#: Split the device
18331833 along the next partitionable affinity domain.
1834- The implementation shall find the first level along which the device or sub
1835- device may be further subdivided in the order [code]#numa#, [code]#L4_cache #,
1836- [code]#L3_cache#, [code]#L2_cache#, [code]#L1_cache#, and partition the device
1837- into sub devices comprised of compute units that share memory subsystems at
1838- this level.
1834+ The implementation shall find the first level along which the device or
1835+ sub- device may be further subdivided in the order [code]#numa#,
1836+ [code]#L4_cache#, [code]# L3_cache#, [code]#L2_cache#, [code]#L1_cache#, and
1837+ partition the device into sub- devices comprised of compute units that share
1838+ memory subsystems at this level.
18391839 The user may determine what happened via
18401840 [api]#info::device::partition_type_affinity_domain#.
18411841
@@ -3200,11 +3200,11 @@ struct parent_device {
32003200
32013201_Remarks:_ Template parameter to [api]#device::get_info#.
32023202
3203- _Returns:_ The parent device to which this sub device is a child if this is a
3204- sub device.
3203+ _Returns:_ The parent device to which this sub- device is a child if this is a
3204+ sub- device.
32053205
32063206_Throws:_ An [code]#exception# with the [code]#errc::invalid# error code if this
3207- device is not a sub device.
3207+ device is not a sub- device.
32083208
32093209'''
32103210
@@ -3220,7 +3220,7 @@ struct partition_max_sub_devices {
32203220
32213221_Remarks:_ Template parameter to [api]#device::get_info#.
32223222
3223- _Returns:_ The maximum number of sub devices that can be created when this
3223+ _Returns:_ The maximum number of sub- devices that can be created when this
32243224device is partitioned.
32253225The value returned cannot exceed the value returned by
32263226[api]#info::device::max_compute_units#.
@@ -3242,7 +3242,7 @@ _Remarks:_ Template parameter to [api]#device::get_info#.
32423242_Returns:_ A [code]#std::vector# of the partition properties supported by this
32433243device.
32443244An element is returned in this vector only if the device can be partitioned into
3245- at least two sub devices along that partition property.
3245+ at least two sub- devices along that partition property.
32463246
32473247'''
32483248
@@ -3262,7 +3262,7 @@ _Returns:_ A [code]#std::vector# of the partition affinity domains supported by
32623262this device when partitioning with
32633263[api]#info::partition_property::partition_by_affinity_domain#.
32643264An element is returned in this vector only if the device can be partitioned into
3265- at least two sub devices along that affinity domain.
3265+ at least two sub- devices along that affinity domain.
32663266
32673267'''
32683268
@@ -3279,7 +3279,7 @@ struct partition_type_property {
32793279_Remarks:_ Template parameter to [api]#device::get_info#.
32803280
32813281_Returns:_ The partition property of this device.
3282- If this device is not a sub device then the return value is
3282+ If this device is not a sub- device then the return value is
32833283[api]#info::partition_property::no_partition#, otherwise it is one of the
32843284following values:
32853285
@@ -3302,7 +3302,7 @@ struct partition_type_affinity_domain {
33023302_Remarks:_ Template parameter to [api]#device::get_info#.
33033303
33043304_Returns:_ The partition affinity domain of this device.
3305- If this device is not a sub device or the sub device was not partitioned with
3305+ If this device is not a sub- device or the sub- device was not partitioned with
33063306[api]#info::partition_property::partition_by_affinity_domain# then the return
33073307value is [api]#info::partition_affinity_domain::not_applicable#, otherwise it is
33083308one of the following values:
0 commit comments