Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Race condition when MKLDNN is enabled #10189

Closed
@eric-haibin-lin

Description

When MKLDNN is enabled, the output of any MKLDNN op will have MKL layout. If such ndarray is passed to any operator registered with FComputeEx interface, calling NDArray::data will trigger "Reorder2Default" which may cause race condition since it doesn't prevent others from writing to it at the same time.

The number of non-MKL ops registered with FComputeEx is over 50. This should be fixed and explicitly tested.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions