Missing #pragma once in dml_provider_factory.h (#9457)

This commit is contained in:
Ginés Hidalgo 2021-10-27 05:49:52 -04:00 committed by GitHub
parent 1efdbff1a3
commit 9639eded4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#pragma warning(push)
#pragma warning(disable : 4201) // nonstandard extension used: nameless struct/union
#include <d3d12.h>
@ -44,4 +46,4 @@ ORT_API_STATUS(OrtSessionOptionsAppendExecutionProviderEx_DML, _In_ OrtSessionOp
#ifdef __cplusplus
}
#endif
#endif