You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dmitriy-sobolev
changed the title
Sort test: check type requirements conformance with device policies
Sort test: check type requirements conformance (device policies)
Mar 5, 2025
Summary:
C++ standards sets these type preconditions:
Preconditions: For the overloads in namespace std, RandomAccessIterator meets the Cpp17ValueSwappable requirements ([swappable.requirements]) and the type of *first meets the Cpp17MoveConstructible (Table 31) and Cpp17MoveAssignable (Table 33) requirements.
Sort tests do not check if it is sufficient when using a device policy (for example, it does not require CopyConstructible). This check is needed.
There is a TODO in the test:
oneDPL/test/parallel_api/algorithm/alg.sorting/alg.sort/sort.pass.cpp
Line 64 in f49feb4
The text was updated successfully, but these errors were encountered: