Avoid #including <thrust/extrema.h> in the generic implementation of find.
Use thrust::min instead of std::min in the generic implementation of find.
Annotate execution_policy-based find algorithms with __host__ __device__.
Annotate execution_policy-based mismatch with __host__ __device__.
Annotate execution_policy-based equal with __host__ __device__.