oneapi-src / oneAPI-samples

Samples for Intel® oneAPI Toolkits
https://oneapi-src.github.io/oneAPI-samples/
MIT License
899 stars 675 forks source link

FPGA: Fix ambiguity of math function calls #2342

Closed yuguen-intel closed 1 month ago

yuguen-intel commented 1 month ago

Upstream LLVM removed the auto-included math.h, making some samples fail to compile without explicitly including math.h or using the sycl:: equivalent.