#pragma OPENCL EXTENSION cl_khr_mipmap_image : enable #pragma OPENCL EXTENSION cl_khr_mipmap_image_writes : enable
This extension adds support for mipmaps.
This proposal is implemented as two optional extensions.
cl_khr_mipmap_image extension implements support to create a mipmapped image, enqueue commands to read/write/copy/map a region of a mipmapped image and built-in functions that can be used to read a mip-mapped image in an OpenCL C program.
cl_khr_mipmap_image_writes extension adds built-in functions that can be used to write a mip-mapped image in an OpenCL C program.
cl_khr_mipmap_image_writes extension is supported by the OpenCL device, the
cl_khr_mipmap_image extension must also be supported.
This extension enables the following functions:
This extension enables changes to the following:
For more information, see the OpenCL Extension Specification at URL
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.