OpenCL-CTS icon indicating copy to clipboard operation
OpenCL-CTS copied to clipboard

Add AHB lifetime test

Open ahesham-arm opened this issue 2 months ago • 0 comments

Add lifetime test for AHardwareBuffer in which for both CL Buffers and CL Images the following steps are taken

  • Create AHB
  • Create mem object from the AHB
  • Release the AHB
  • Read and write from and to the mem object
  • Verify the reads and write have happened sucessfully

The CL implementation should maintain a reference count to the AHB since the AHB must not be deallocated for the test to pass.

ahesham-arm avatar Nov 03 '25 22:11 ahesham-arm