mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-01 23:30:35 +00:00
Replace make_unique in cuda_utils.cu (#2052)
This commit is contained in:
parent
db0dd09ded
commit
af8fe0f980
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class ConstantBufferImpl : public IConstantBuffer<T> {
|
|||
|
||||
template <typename T>
|
||||
std::unique_ptr<IConstantBuffer<T>> CreateConstantOnes() {
|
||||
return std::make_unique<ConstantBufferImpl<T>>(Consts<T>::One);
|
||||
return onnxruntime::make_unique<ConstantBufferImpl<T>>(Consts<T>::One);
|
||||
}
|
||||
|
||||
template std::unique_ptr<IConstantBuffer<float>> CreateConstantOnes<float>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue