intel / libvpl

Intel® Video Processing Library (Intel® VPL) API, dispatcher, and examples
https://intel.github.io/libvpl/
MIT License
262 stars 80 forks source link

Legacy tools use x86/x86_64 specific assembler code #69

Closed StefanBruens closed 1 year ago

StefanBruens commented 1 year ago

https://github.com/oneapi-src/oneVPL/blob/15b79165c30fc4a7bf6efdf261a39b128b63b896/tools/legacy/sample_common/src/vm/atomic_linux.cpp#L11-L17

This breaks build on ARM, PPC, RISC-V, ... oneVPL should be buildable on all platforms, as SW implementations and dGPU (Arc) is available there too.

Possible solutions

  1. Make it a wrapper around C11 atomic_fetch_add
  2. Disable legacy tools on anything but x86(_64)
jeffreymcallister commented 1 year ago

Thank you for reporting this issue. We are looking into options to resolve and will let you know as we make progress.

mav-intel commented 1 year ago

fixed In d69f50f5fd4113fd8bc861db65e838195316dafc