diff --git a/onnxruntime/core/providers/cuda/cuda_utils.cu b/onnxruntime/core/providers/cuda/cuda_utils.cu index dfebc914d7..5dc61cfa18 100644 --- a/onnxruntime/core/providers/cuda/cuda_utils.cu +++ b/onnxruntime/core/providers/cuda/cuda_utils.cu @@ -61,7 +61,7 @@ class ConstantBufferImpl : public IConstantBuffer { template std::unique_ptr> CreateConstantOnes() { - return std::make_unique>(Consts::One); + return onnxruntime::make_unique>(Consts::One); } template std::unique_ptr> CreateConstantOnes();