Skip to content

Commit a7588ff

Browse files
committed
tests_l2: Update gpu readme for hwinfo
Signed-off-by: vbedida79 <veenadhari.bedida@intel.com>
1 parent 5e05bf9 commit a7588ff

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

tests/l2/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ $ oc logs intel-sgx-job-4tnh5
3030
Enter a character before exit ...
3131
```
3232
### Verify Intel® Data Center GPU provisioning
33+
#### clinfo
3334
This workload runs [clinfo](https://github.com/Oblomov/clinfo) utilizing the i915 resource from GPU provisioning and displays the related GPU information.
3435
* To work around [issue](https://github.com/intel/intel-technology-enabling-for-openshift/issues/107), please run the below command on the node with the GPU where your workload will run:
3536

@@ -67,6 +68,49 @@ $ oc logs intel-dgpu-clinfo-56mh2
6768
Device OpenCL C Version OpenCL C 1.2
6869
Device OpenCL C all versions OpenCL
6970
```
71+
#### hwinfo
72+
73+
This workload runs ```hwinfo``` utilizing the i915 resource from GPU provisioning and displays the related GPU information. Refer to [link](https://dgpu-docs.intel.com/driver/installation.html#verify-install)
74+
75+
76+
* Build the workload container image.
77+
78+
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_build.yaml ```
79+
80+
* Deploy and execute the workload.
81+
82+
```$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/hwinfo_job.yaml```
83+
84+
* Check the results
85+
```
86+
$ oc get pods
87+
intel-dgpu-hwinfo-1-build 0/1 Completed 0 111m
88+
intel-dgpu-hwinfo-l4572 0/1 Completed 0 110m
89+
```
90+
```
91+
$ oc logs intel-dgpu-hwinfo-l4572
92+
88: PCI 3700.0: 0300 VGA compatible controller (VGA)
93+
[Created at pci.386]
94+
Unique ID: ug9x.K5dXxUXtHX2
95+
Parent ID: QGIh.mr2N3fBJq5F
96+
SysFS ID: /devices/pci0000:30/0000:30:02.0/0000:31:00.0/0000:32:00.0/0000:33:00.0/0000:34:08.0/0000:35:00.0/0000:36:01.0/0000:37:00.0
97+
SysFS BusID: 0000:37:00.0
98+
Hardware Class: graphics card
99+
Model: "Intel VGA compatible controller"
100+
Vendor: pci 0x8086 "Intel Corporation"
101+
Device: pci 0x56c1
102+
SubVendor: pci 0x8086 "Intel Corporation"
103+
SubDevice: pci 0x4905
104+
Revision: 0x04
105+
Driver: "i915"
106+
Driver Modules: "i915"
107+
Memory Range: 0xd0000000-0xd0ffffff (rw,non-prefetchable)
108+
Memory Range: 0x3afc00000000-0x3afdffffffff (ro,non-prefetchable)
109+
IRQ: 928 (86 events)
110+
Module Alias: "pci:v00008086d000056C1sv00008086sd00004905bc03sc00i00"
111+
Config Status: cfg=new, avail=yes, need=no, active=unknown
112+
Attached to: #29 (PCI bridge)
113+
```
70114

71115
### Verify Intel® QuickAssist Technology provisioning
72116
This workload runs [qatlib](https://github.com/intel/qatlib) sample tests. Refer to the [qatlib readme](https://github.com/intel/qatlib/blob/main/INSTALL) for more details.

0 commit comments

Comments
 (0)