oneapi-src / oneAPI-samples

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

add <cmath> include where appropriate #2467

Closed whitepau closed 2 weeks ago

whitepau commented 3 weeks ago

Existing Sample Changes

Description

add inclusion to files where necessary. Replace existing uses of with to be more C++ friendly

Fixes Issue# https://jira.devtools.intel.com/browse/ONSAM-1869

External Dependencies

List any external dependencies created as a result of this change.

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration