Skip to content

ThreadedCompilationManager is not threadsafe for multiple concurrent calls #214

@taalexander

Description

@taalexander

In this comment on the LLVM forums @joker-eph noted that the current API itself is not threadsafe if concurrent calls are made to compileMLIR which might concurrently access and use the same pass manager.

Currently, we only make one call per target compilation manager. As we have plans to extend how the C++ API is called/used this may be an issue in the nearish future.

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