Bolt
1.1
C++ template library with support for OpenCL
|
min_element returns the location of the first minimum element in the specified range. More...
#include <bolt/cl/bolt.h>
#include <bolt/cl/functional.h>
#include <bolt/cl/device_vector.h>
#include <string>
#include <iostream>
#include <bolt/cl/detail/min_element.inl>
Go to the source code of this file.
Namespaces | |
namespace | bolt |
Defining namespace for the Bolt project. | |
namespace | bolt::cl |
Namespace containing OpenCL related data types and functions. | |
Functions | |
template<typename ForwardIterator > | |
ForwardIterator | bolt::cl::min_element (bolt::cl::control &ctl, ForwardIterator first, ForwardIterator last, const std::string &cl_code="") |
The min_element returns the location of the first minimum element in the specified range. | |
template<typename ForwardIterator > | |
ForwardIterator | bolt::cl::min_element (ForwardIterator first, ForwardIterator last, const std::string &cl_code="") |
template<typename ForwardIterator , typename BinaryPredicate > | |
ForwardIterator | bolt::cl::min_element (bolt::cl::control &ctl, ForwardIterator first, ForwardIterator last, BinaryPredicate binary_op, const std::string &cl_code="") |
The min_element returns the location of the first minimum element in the specified range using the specified binary_op. | |
template<typename ForwardIterator , typename BinaryPredicate > | |
ForwardIterator | bolt::cl::min_element (ForwardIterator first, ForwardIterator last, BinaryPredicate binary_op, const std::string &cl_code="") |
min_element returns the location of the first minimum element in the specified range.