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

Fix bug in mutable_command_full_dispatch #2082

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 12, 2024

  1. Fix bug in mutable_command_full_dispatch

    This test did not pass the `-cl-std=` flag when building the program. As
    a result, for an OpenCL 3.0 device, the program will be "compiled using
    the highest OpenCL C 1.x language version supported" by the device.
    However this will force uniform work-group sizes which leads to a
    `CL_INVALID_WORK_GROUP_SIZE` error.
    
    To fix this, use the `create_single_kernel_helper()` helper function
    which will automatically get the device version and pass that to
    `-cl-std=` when building the program.
    
    Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
    gorazd-sumkovski-arm committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    f197259 View commit details
    Browse the repository at this point in the history