From 0853a58cfaa9001557fecf6720055ab59ff7f7c7 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Wed, 5 May 2021 23:29:17 -0700 Subject: [PATCH] ROCM fix --- onnxruntime/core/providers/shared_library/provider_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onnxruntime/core/providers/shared_library/provider_api.h b/onnxruntime/core/providers/shared_library/provider_api.h index 5697fef8b1..515b73b87d 100644 --- a/onnxruntime/core/providers/shared_library/provider_api.h +++ b/onnxruntime/core/providers/shared_library/provider_api.h @@ -12,6 +12,10 @@ #include "core/providers/common.h" #include "core/providers/cpu/tensor/onehot.h" #include "core/providers/cpu/tensor/gather_elements.h" + +template +using DeleteOnUnloadPtr = std::unique_ptr; + #else #define SHARED_PROVIDER 1