Skip to content

[SYCL] ProgramManager::m_EliminatedKernelArgMasks is not protected by a mutex #16836

Open
@jopperm

Description

@jopperm

In contrast to other, similar members in the ProgramManager class, accesses to the m_EliminatedKernelArgMasks map are not protected by a mutex (e.g. [1], [2]). The code documentation does not explain whether this is intentional. We should investigate whether a mutex is needed, and either update the documentation, use the existing m_BuiltInKernelIDsMutex like most of the other members, or introduce a new mutex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions