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

[SPIR-V] Add cl_khr_kernel_clock / SPV_KHR_shader_clock extension #92771

Merged
merged 2 commits into from
May 22, 2024

Commits on May 20, 2024

  1. [SPIR-V] Add cl_khr_kernel_clock / SPV_KHR_shader_clock extension

    Recognize `cl_khr_kernel_clock` builtins and translate them to
    `OpReadClockKHR` instructions.  The `Scope` operand is deduced from
    the builtin function name.
    
    spirv-val does not pass yet due to OpReadClockKHR only supporting the
    valid scopes for Vulkan (Device and Subgroup, but not Workgroup), so
    leave validation disabled with a TODO.
    svenvh committed May 20, 2024
    Configuration menu
    Copy the full SHA
    4fb151e View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Reduce test case

    svenvh committed May 21, 2024
    Configuration menu
    Copy the full SHA
    51a4d35 View commit details
    Browse the repository at this point in the history