Module opencl3::memory

source ·

Structs

  • An OpenCL buffer.
    Implements the Drop trait to call release_mem_object when the object is dropped.
  • An OpenCL image.
    Has methods to return information from calls to clGetImageInfo with the appropriate parameters.
    Implements the Drop trait to call release_mem_object when the object is dropped.
  • An OpenCL pipe.
    Has methods to return information from calls to clGetPipeInfo with the appropriate parameters.
    Implements the Drop trait to call release_mem_object when the object is dropped.
  • An OpenCL sampler.
    Has methods to return information from calls to clGetSamplerInfo with the appropriate parameters.
    Implements the Drop trait to call release_sampler when the object is dropped.

Constants

Traits

Functions

  • Create an OpenCL buffer object for a context.
    Calls clCreateBuffer to create an OpenCL buffer object.
  • Create an OpenCL image object for a context.
    Calls clCreateImage to create an OpenCL image object.
  • Create an OpenCL pipe object for a context.
    Calls clCreatePipe to create an OpenCL pipe object.
    CL_VERSION_2_0
  • Create an new OpenCL buffer object from an existing buffer object.
    Calls clCreateSubBuffer to create an OpenCL sub-buffer object.
  • Get data about an OpenCL image object. Calls clGetImageInfo to get the desired data about the image object.
  • Get information specific to an OpenCL image object.
    Calls clGetImageInfo to get the desired information about the image object.
  • Get data about an OpenCL memory object. Calls clGetMemObjectInfo to get the desired data about the memory object.
  • Get information common to all OpenCL memory objects (buffer and image objects).
    Calls clGetMemObjectInfo to get the desired information about the memory objects.
  • Get data about an OpenCL pipe object. Calls clGetPipeInfo to get the desired data about the pipe object.
  • Get information specific to an OpenCL pipe object.
    Calls clGetPipeInfo to get the desired information about the pipe object. CL_VERSION_2_0
  • Get the list of image formats supported by an OpenCL implementation for a specified context, image type, and allocation information.
    Calls clGetSupportedImageFormats to get the desired information about the program.
  • Release an OpenCL memory object.
    Calls clReleaseMemObject to decrement the memory object reference count.
  • Retain an OpenCL memory object.
    Calls clRetainMemObject to increment the memory object reference count.
  • Register a callback function with an OpenCL memory object that is called when the memory object is destroyed.
    Calls clSetMemObjectDestructorCallback.
  • Allocate a shared virtual memory (SVM) buffer that can be shared by the host and all devices in an OpenCL context.
    Calls clSVMAlloc.
    CL_VERSION_2_0
  • Free a shared virtual memory (SVM) buffer allocated using clSVMAlloc.
    Calls clSVMFree.
    CL_VERSION_2_0

Type Aliases