Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone kernels svm #1550

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 14, 2022

  1. * Add test coverage for clCloneKernel with args

      Use `clSetKernelArg` to set args after kernel is cloned. Enqueue and
      read the buffer to validate.
      The test uses `buf_write_kernel` kernel program with 2 arguments.
    
    * In test_clone_kernel, if `clEnqueueReadBuffer` was a success then
      the error code would be `CL_SUCCESS`, which will not print the error
      message when buffer validation fails, therefore replace with
      `test_assert_error` to print the error message.
    
    * Add test coverage for `clCloneKernel` with Execinfo
      Use `clSetKernelExecInfo` after kernel is cloned and read the buffer
      to validate. The test uses the `set_kernel_exec_info_kernel` kernel program
      with 2 arguments.
    
    * Add test covergae for `clCloneKernel` with no args
      Clone a kernel with no args and enqueue.
      The test uses `test_kernel_empty` kernel program with no arguments.
    
    * Add test coverge for `clCloneKernel` with SVM pointer
      Use `clSetKernelArgSVMPointer` to set args after kernel is cloned.
      Enqueue and read the buffer to validate.The test uses `buf_write_kernel`
      kernel program with 2 arguments.
    
    Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
    jainvikas8 authored and JohnKesapidesARM committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    ca0642b View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Rework PR KhronosGroup#1251 based on review comments

    Signed-off-by: John Kesapides <john.kesapides@arm.com>
    JohnKesapidesARM committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    d973b02 View commit details
    Browse the repository at this point in the history