Skip to content

Commit baea45d

Browse files
committed
Incorporating code review comments
Signed-off-by: Gail Lyons <gail.lyons@intel.com>
1 parent 36dcccd commit baea45d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sycl/doc/extensions/IntelGPU/IntelGPUDeviceInfo.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ A new aspect, ext\_intel\_gpu\_pci\_address, will be added.
3636

3737
## Error Condition ##
3838

39-
The function device\:\:get_info\(\) will return an empty string if the device does not support aspect\:\:ext\_intel\_gpu\_pci\_address.
39+
An exception will be thrown if the device does not support aspect\:\:ext\_intel\_gpu\_pci\_address.
4040

4141

4242
## Example Usage ##
4343

4444
The PCI address can be obtained using the standard get\_info() interface.
4545

46-
if (dev.has(aspect::ext_intel_gpu_pci_address) {
46+
if (dev.has(aspect::ext_intel_gpu_pci_address)) {
4747
auto BDF = dev.get_info<info::device::ext_intel_gpu_pci_address>();
4848
}
4949

@@ -69,13 +69,13 @@ A new aspect, ext\_intel\_gpu\_eu\_simd\_width, will be added.
6969

7070
## Error Condition ##
7171

72-
The function device\:\:get_info\(\) will return PI\_INVALID\_VALUE if the device does not support aspect\:\:ext\_intel\_gpu\_eu\_simd\_width.
72+
An exception will be thrown if the device does not support aspect\:\:ext\_intel\_gpu\_eu\_simd\_width.
7373

7474
## Example Usage ##
7575

7676
The physical EU SIMD width can be obtained using the standard get\_info() interface.
7777

78-
if (dev.has(aspect::ext_intel_gpu_eu_simd_width) {
78+
if (dev.has(aspect::ext_intel_gpu_eu_simd_width)) {
7979
auto euSimdWidth = dev.get_info<info::device::ext_intel_gpu_eu_simd_width>();
8080
}
8181

@@ -102,12 +102,12 @@ A new aspect, ext\_intel\_gpu\_eu\_count, will be added.
102102

103103
## Error Condition ##
104104

105-
The function device\:\:get_info\(\) will return PI\_INVALID\_VALUE if the device does not support aspect\:\:ext\_intel\_gpu\_eu\_count.
105+
An exception will be thrown if the device does not support aspect\:\:ext\_intel\_gpu\_eu\_count.
106106

107107
## Example Usage ##
108108

109109
Then the number of EUs can be obtained using the standard get\_info() interface.
110110

111-
if (dev.has(aspect::ext_intel_gpu_eu_count) {
111+
if (dev.has(aspect::ext_intel_gpu_eu_count)) {
112112
auto euCount = dev.get_info<info::device::ext_intel_gpu_eu_count>();
113113
}

0 commit comments

Comments
 (0)