E.3 OpenCL 1.2 functions

The following API functions are added in OpenCL 1.2.

OpenCL includes the following API functions:

clEnqueueFillBuffer()
Arm recommends you use this function in place of writing your own.
clEnqueueFillImage()
Arm recommends you use this function in place of writing your own.
clCreateImage()
This includes support for 1D and 2D image arrays.

Note:

This function deprecates all previous image creation functions.
clLinkProgram()
Using this typically does not provide much performance benefit in the Mali™ OpenCL driver.
clCompileProgram()
Using this typically does not provide much performance benefit in the Mali OpenCL driver.
clEnqueueMarkerWithWaitList()
clEnqueueBarrierWithWaitList()
clEnqueueMigrateMemObjects()
The Mali OpenCL driver supports the memory object migration API clEnqueueMigrateMemObjects(), but this does not provide any benefit because Mali GPUs use a unified memory architecture.

OpenCL 1.2 includes the following built-in function:

printf()

Note:

The flag CL_MAP_WRITE_INVALIDATE_REGION has no effect in the Mali OpenCL driver.
Non-ConfidentialPDF file icon PDF version101574_0301_00_en
Copyright © 2019 Arm Limited or its affiliates. All rights reserved.