intel / pti-gpu

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily
MIT License
202 stars 57 forks source link

Failure to compile #17

Open JBBIntel opened 2 years ago

JBBIntel commented 2 years ago
I am trying to build gpuinfo on a Ubuntu system. I executed the cmake command from the README, then "make". I am seeing the following compile error; [ 50%] Building CXX object CMakeFiles/gpuinfo.dir/main.cc.o In file included from /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/main.cc:12: /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h: In static member function ‘static uint32_t MetricDevice::GetDeviceCount()’: /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h:32:51: error: invalid conversion from ‘MetricsDiscovery::IAdapterGroup_1_9’ to ‘MetricsDiscovery::IAdapterGroupLatest’ {aka ‘MetricsDiscovery::IAdapterGroup_1_13**’} [-fpermissive] 32 md::TCompletionCode status = OpenAdapterGroup(&adapter_group); ^~~~~~
MetricsDiscovery::IAdapterGroup_1_9**
/nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h: In static member function ‘static uint32_t MetricDevice::GetSubDeviceCount(uint32_t)’: /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h:52:51: error: invalid conversion from ‘MetricsDiscovery::IAdapterGroup_1_9’ to ‘MetricsDiscovery::IAdapterGroupLatest’ {aka ‘MetricsDiscovery::IAdapterGroup_1_13**’} [-fpermissive] 52 md::TCompletionCode status = OpenAdapterGroup(&adapter_group); ^~~~~~
MetricsDiscovery::IAdapterGroup_1_9**
/nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h: In static member function ‘static MetricDevice* MetricDevice::Create(uint32_t, uint32_t)’: /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h:81:31: error: invalid conversion from ‘MetricsDiscovery::IAdapterGroup_1_9’ to ‘MetricsDiscovery::IAdapterGroupLatest’ {aka ‘MetricsDiscovery::IAdapterGroup_1_13**’} [-fpermissive] 81 status = OpenAdapterGroup(&adapter_group); ^~~~~~
MetricsDiscovery::IAdapterGroup_1_9**