Developer Guide and Reference

  • 2021.2
  • 03/26/2021
  • Public Content

DPCT1011

Message

The tool detected overloaded operators for built-in vector types, which may conflict with the SYCL 1.2.1 standard operators (see 4.10.2.1 Vec interface). The tool inserted a namespace to avoid the conflict. Use SYCL 1.2.1 standard operators instead.

Detailed Help

For vector types, like
double2
, you may have overloaded operators, while overloaded operators with the same signature are also defined in SYCL* standard, resulting in a conflict. The Intel® DPC++ Compatibility Tool adds the namespace for overloaded operators overloaded to differentiate them from the ones defined in SYCL. You may need to rewrite the code.

Suggestions to Fix

You may need to rewrite this code.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.