Skip to content

Rework HAL CTS to use the C API #3934

Closed

Description

@benvanik

It currently is using C++ types directly, which reduces its usefulness with respect to testing the HAL and documenting its usage. It's also blocking porting portions of the HAL to C which is required to allow external user-provided HAL backends.

This isn't urgent but if left too long the CTS will likely need to be deleted until one using the C API can be written (it's not providing enough value in its current form relative to unblocking out-of-tree HAL drivers). A CTS against the C API would be extremely valuable for developers of out-of-tree drivers (as well as for ensuring good coverage of the C API for us), so it's definitely good to get a plan in place to fix it up.

Activity

  1. added
    runtime
    hal/vulkan
    on Nov 20, 2020
  2. added this to the milestone on Nov 20, 2020
  3. benvanik commented on Nov 22, 2020

    @benvanik
    CollaboratorAuthor

    As we are likely to be making more changes to the HAL during the Q1 having a CTS (or using it as an excuse to flesh one out) would be useful to ensuring that we are working correctly across metal and vulkan (and webgpu and such).

  4. removed this from the milestone on Nov 22, 2020
  5. 14 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

hal/vulkanruntime

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions