Developer Guide and Reference

  • 2021.3
  • 06/28/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

You may have overloaded operators for vector types such as
double2
. This resulted in a conflict because overloaded operators with the same signature are also defined in the SYCL* standard. The Intel® DPC++ Compatibility Tool adds the namespace for overloaded operators 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.