[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:
Ginés Hidalgo 2021-11-01 01:49:17 -04:00 committed by GitHub
parent 034f297884
commit ccf1b8ad00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1262,7 +1262,7 @@ void OpKernelContextWrapper::Close() {
ClearTempAllocations();
__super::Close();
Closable::Close();
}
HRESULT STDMETHODCALLTYPE OpKernelContextWrapper::GetInputTensor(uint32_t inputIndex, IMLOperatorTensor** tensor) const noexcept try {

View file

@ -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();
}