oneapi-src / oneAPI-samples

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

Fix namespace of host_ptr #2288

Closed steffenlarsen closed 4 months ago

steffenlarsen commented 4 months ago

Existing Sample Changes

Description

The device_ptr and host_ptr aliases in DPC++ is from the sycl_ext_intel_usm_address_spaces and as such is under the sycl::ext::intel namespace, rather than the sycl namespace. This commit fixes the namespaces of all uses of these aliases.

External Dependencies

None.

Type of change

How Has This Been Tested?

Following the build instructions in each of the respective sample directories.

jimmytwei commented 4 months ago

@yuguen-intel As these are FPGA samples, can you take a look at this? @steffenlarsen Can you submit a PR to the development branch?

steffenlarsen commented 4 months ago

Replaced by https://github.com/oneapi-src/oneAPI-samples/pull/2291.