Skip to content

Should urKernelSuggestMaxCooperativeGroupCountExp take device handle? #2262

@igchor

Description

@igchor

For L0 adapter program/kernel can be created for multiple devices. In such case ur_kernel_handle_t holds multiple ze_kernel_handle_t handles. Which ze_kernel_handle_t should be used when calling urKernelSuggestMaxCooperativeGroupCountExp?

Right now, L0 adapter just uses hKernel->ZeHandle which is only set when the kernel is created from a native handle.

Most likely urKernelSuggestMaxCooperativeGroupCountExp needs to be changed to accept ur_device_handle_t, similarly to urKernelGetGroupInfo and urKernelGetSubGroupInfo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    specificationChanges or additions to the specification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions