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.
Closed
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.