Lines Matching defs:vector
75 * also the supplied vector and string classes, see following sections for
102 * std::vector<cl::Platform> platforms;
113 * std::vector<cl::Device> devices = context.getInfo<CL_CONTEXT_DEVICES>();
226 #include <vector>
683 #define VECTOR_CLASS std::vector
685 #define VECTOR_CLASS cl::vector
691 /*! \class vector
692 * \brief Fixed sized vector implementation that mirroring
694 * \note Deprecated. Please use std::vector as default or
695 * re-define the vector class to match the std::vector
701 * std::vector functionality.
702 * \brief Fixed sized vector compatible with std::vector.
705 * This differs from std::vector<> not just in memory allocation,
709 * \param T type of element contained in the vector.
711 * \param N maximum size of the vector.
714 class CL_EXT_PREFIX__VERSION_1_1_DEPRECATED vector
721 //! \brief Constructs an empty vector with no memory allocated.
722 vector() :
726 //! \brief Deallocates the vector's memory and destroys all of its elements.
727 ~vector()
738 /*! \brief Empties the vector of all elements.
751 * Calling this on a vector that has reached capacity will throw an
764 /*! \brief Removes the last valid element from the vector.
765 * Calling this on an empty vector will throw an exception
780 * \param vec the vector to copy.
782 vector(const vector<T, N>& vec) :
796 vector(unsigned int size, const T& val = T()) :
807 * \param rhs vector to copy.
811 vector<T, N>& operator=(const vector<T, N>& rhs)
828 * \param vec the vector against which to compare.
830 bool operator==(vector<T,N> &vec)
868 //! \brief Resizes the vector to the given size
913 /*! \brief Assigns elements of the vector based on a source iterator range.
937 const vector<T,N> *vec_;
942 * to the vector it iterates over rather than taking
943 * the vector by copy.
945 iterator (const vector<T,N> &vec, int index) :
970 static iterator begin(const cl::vector<T,N> &vec)
977 static iterator end(const cl::vector<T,N> &vec)
1261 // a char vector does not
2293 * \param devices returns a vector of OpenCL D3D10 devices found. The cl::Device
3402 vector<cl_context_properties> props = context.getInfo<CL_CONTEXT_PROPERTIES>();
5124 * \param devices A vector of OpenCL device objects for which the program will be created.
5125 * \param binaries A vector of pairs of a pointer to a binary object and its length.
5126 * \param binaryStatus An optional vector that on completion will be resized to
5910 * of a given size. The pattern is specified a as vector.