File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ int main(int argc, char **argv) {
40
40
int numSlices = 0 ;
41
41
int numSubslices = 0 ;
42
42
int numEUsPerSubslice = 0 ;
43
+ int numHWThreadsPerEU = 0 ;
43
44
for (const auto &dev : plt.get_devices ()) {
44
45
std::cout << " Platform #" << pltCount++ << " :" << std::endl;
45
46
if (dev.has (aspect::gpu)) {
@@ -90,6 +91,12 @@ int main(int argc, char **argv) {
90
91
std::cout << " Number of EUs per subslice = " << numEUsPerSubslice
91
92
<< std::endl;
92
93
}
94
+ if (dev.has (aspect::ext_intel_gpu_hw_threads_per_eu)) {
95
+ numHWThreadsPerEU =
96
+ dev.get_info <info::device::ext_intel_gpu_hw_threads_per_eu>();
97
+ std::cout << " Number of HW threads per EU = " << numHWThreadsPerEU
98
+ << std::endl;
99
+ }
93
100
if (dev.has (aspect::ext_intel_max_mem_bandwidth)) {
94
101
// not supported yet
95
102
long m =
You can’t perform that action at this time.
0 commit comments