Hello,
I found out that on qcom platform, there's a extension,
https://www.khronos.org/registry/cl/extensions/qcom/cl_qcom_ion_host_ptr.txt
Can I do the same on mali T760, android platform?
Songmao
Hi,
This is not an API that Arm supports. It was used to represent the fact that the application needs to obtain a dma_buf file descriptor, which is a platform-specific operation. With recent versions of Android, we recommend you use AHardwareBuffer that can be imported directly with cl_arm_import_memory_android_hardware_buffer (https://www.khronos.org/registry/OpenCL/extensions/arm/cl_arm_import_memory.txt).
You may want to have a look at github.com/.../GraphicBuffer.
Regards,
Kevin