Skip to content

Fix Vulkan offload test suite setup to allow for wave size specification #611

@bob80905

Description

@bob80905

Right now, Vulkan ignores the specified WaveSize attribute in the HLSL.
In the device creation code, there is no mention of VK_EXT_subgroup_size_control to set the wave size based on the attribute in the HLSL.
So, when Vulkan is the IR target, the device will just use the default wave size.

This issue tracks updating the test infrastructure so that the wave size specified in the HLSL is properly referenced, or an error is raised if the device doesn't support it.


We have various tests that rely on the WaveSize attribute to control the wave size ("subgroup size" in Vulkan terms). Vulkan/SPIRV doesn't have an equivalent to this attribute, but instead has the VK_EXT_subgroup_size_control extension that can be used for the same purpose.

For this task we should:

  • find a way to expose this via the pipeline yaml
  • expose supported subgroup sizes that can be used in REQUIRES clauses.
  • update the existing tests to use it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions