oneapi-src / oneAPI-samples

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

FPGA: Fix namespaces errors for math function calls #2350

Closed renlizha closed 4 months ago

renlizha commented 4 months ago

Existing Sample Changes

Description

Versions of host_ptr and device_ptrthat are in the sycl:: namespace are deprecated and should be replaced by sycl::ext::intel namespace. Explicitly specifying sycl:: is needed for some code samples.

Test Run: https://spetc.intel.com/testsummary?trview=0&testRunIds=10273947

Fixes Issue#

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

yuguen-intel commented 4 months ago

The change should target the development branch rather than the master branch