mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
[DmlEp] Avoid warning C4495 (#9533)
* Update MLOperatorAuthorImpl to remove warning C4495 Update MLOperatorAuthorImpl to remove warning C4495: nonstandard extension '__super' used: replace with explicit base class name * Update DmlOperatorRecurentNeuralNetwork to avoid warning C4495 Update DmlOperatorRecurentNeuralNetwork to avoid warning C4495: nonstandard extension '__super' used: replace with explicit base class name
This commit is contained in:
parent
034f297884
commit
ccf1b8ad00
2 changed files with 2 additions and 2 deletions
|
|
@ -1262,7 +1262,7 @@ void OpKernelContextWrapper::Close() {
|
|||
|
||||
ClearTempAllocations();
|
||||
|
||||
__super::Close();
|
||||
Closable::Close();
|
||||
}
|
||||
|
||||
HRESULT STDMETHODCALLTYPE OpKernelContextWrapper::GetInputTensor(uint32_t inputIndex, IMLOperatorTensor** tensor) const noexcept try {
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ public:
|
|||
{
|
||||
// Assume that enough GPU work has been queued up after the RNN operator that it is worth
|
||||
// kicking it off, to enable subsequent CPU work to be parallelized with this GPU work.
|
||||
__super::Compute(kernelContext);
|
||||
DmlOperator::Compute(kernelContext);
|
||||
m_executionProvider->Flush();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue