// Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #pragma once #include "parallel_for.h" namespace embree { template<typename Ty, typename Index, typename Predicate> inline Index sequential_filter( Ty* data, const Index first, const Index last, const Predicate& predicate) { … } template<typename Ty, typename Index, typename Predicate> inline Index parallel_filter( Ty* data, const Index begin, const Index end, const Index minStepSize, const Predicate& predicate) { … } }