allow multiple thread safe calls to compiled function in DEX mode (#2717)
* Implement thread safe calls. Create MKLDNN primitives on first iteratin for quantized_concat. * Add buffer_data to CPURuntimeContext. * Fix bugs. * Modify unit test. * Swap vectors of mkldnn primitive pointers for CODEGEN. * Fix a bug. * Address PR feedback. * Rename variables. * Update Gather, GatherND, and DeconvolutionBias. * Fix style error. Disable cpu thread_safe_calls test on Windows.
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment