fraunhoferhhi / vvenc

VVenC, the Fraunhofer Versatile Video Encoder
https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
BSD 3-Clause Clear License
933 stars 165 forks source link

Intel® VTune™ Profiler 2023 #234

Open 1div0 opened 1 year ago

1div0 commented 1 year ago

Recently, the VTune installation location has been changed. Please check:

https://www.intel.com/content/www/us/en/developer/tools/oneapi/vtune-profiler.html

I was able to compile VVenC with VTune as follows.

//Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING=-I/opt/intel/oneapi/vtune/2023.0.0/include

//Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=-L/opt/intel/oneapi/vtune/2023.0.0/lib64 -Wl,-Bstatic -littnotify -Wl,-Bdynamic

//Path to the installation directory of Intel VTunes ITT_PATH:STRING=/opt/intel/oneapi/vtune/2023.0.0

It just works!™

The only constant is change.

adamjw24 commented 1 year ago

Hm... We're still on the old version, sth. around 2020, so cannot really either test or change (since this feature is actually mostly catered for the current developers).

Is there any way to detect which version you have? If so, maybe another if could be added.

It would be great if you could have a look and do a merge request.

1div0 commented 1 year ago

Sure, I will gladly help, but my free(time_t) is very limited. So maybe by the WE.

adamjw24 commented 1 year ago

Worst case, just add comments in CMakeLists on how to make it work with the new VTunes. If someone is looking for that feature, I'd assume the know how to edit it.

1div0 commented 1 year ago

Perhaps this->WE.

Cheers!