![]() |
![]() ![]() ![]() ![]() |
![]() |
Class image1dBoost , Chapter 1. Boost.Compute , Reference
|
|||||||||
![]() | Warning |
|---|---|
Этот способ доступен только в том случае, если версия OpenCL 1.2 или более поздняя. |
См. также:
image1d
public
construct/copy/destructimage1d();Creates a null
image1d object. Составляет новый объект image1d.
См. документацию для clCreateImage() для получения дополнительной информации.
Creates a new image1d object.
See the documentation for clCreateImage() for more information.
[ORIG_END] -->image1d(const image1d & other);Creates a new
image1d as a copy of other. image1d(image1d && other) noexcept;Move-constructs a new image object from
other. image1d & operator=(const image1d & other);Copies the
image1d from other. image1d &оператор=(image1d && прочее), за исключением ;Переносит изображение с
прочее на это.~image1d();Destroys the
image1d object. image1d public member functionsextents< 1 > size() const;Returns the size (width) of the image.
extents< 1 > origin() const;Возвращает происхождение изображения (
0).template<typename T> T get_info(cl_image_info info) const;
Returns information about the image.
See the documentation for clGetImageInfo() for more information.
template<int Enum> unspecified get_info() const;
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Составляет новое изображение с копией данных в *this. Используйте queue для выполнения операции копирования.
Creates a new image with a copy of the data in *this. Uses queue to perform the copy operation.
image1d public static functionsstatic std::vector< image_format > get_supported_formats(const context & context, cl_mem_flags flags = read_write);
Returns the supported image formats for the context.
See the documentation for clGetSupportedImageFormats() for more information.
static bool is_supported_format(const image_format & format, const context & context, cl_mem_flags flags = read_write);
Returns true if format is a supported 1D image format for context.
Статья Class image1d раздела Chapter 1. Boost.Compute Reference может быть полезна для разработчиков на c++ и boost.
реклама |