onnxruntime/winml/test/adapter/AdapterSessionTest.h
Ori Levari 7b858d60b0
Various changes for automated downlevel test pipeline (#3901)
Co-authored-by: Ori Levari <orlevari@microsoft.com>
2020-05-12 17:22:47 -07:00

44 lines
1.7 KiB
C

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "test.h"
struct AdapterSessionTestAPI
{
SetupClass AdapterSessionTestSetup;
TeardownClass AdapterSessionTestTeardown;
VoidTest AppendExecutionProvider_CPU;
VoidTest AppendExecutionProvider_DML;
VoidTest CreateWithoutModel;
VoidTest GetExecutionProvider;
VoidTest GetExecutionProvider_DML;
VoidTest Initialize;
VoidTest RegisterGraphTransformers;
VoidTest RegisterGraphTransformers_DML;
VoidTest RegisterCustomRegistry;
VoidTest RegisterCustomRegistry_DML;
VoidTest LoadAndPurloinModel;
VoidTest Profiling;
VoidTest CopyInputAcrossDevices;
VoidTest CopyInputAcrossDevices_DML;
};
const AdapterSessionTestAPI& getapi();
WINML_TEST_CLASS_BEGIN(AdapterSessionTest)
WINML_TEST_CLASS_SETUP_CLASS(AdapterSessionTestSetup)
WINML_TEST_CLASS_TEARDOWN_CLASS(AdapterSessionTestTeardown)
WINML_TEST_CLASS_BEGIN_TESTS
WINML_TEST(AdapterSessionTest, AppendExecutionProvider_CPU)
WINML_TEST(AdapterSessionTest, AppendExecutionProvider_DML)
WINML_TEST(AdapterSessionTest, CreateWithoutModel)
WINML_TEST(AdapterSessionTest, GetExecutionProvider)
WINML_TEST(AdapterSessionTest, GetExecutionProvider_DML)
WINML_TEST(AdapterSessionTest, Initialize)
WINML_TEST(AdapterSessionTest, RegisterGraphTransformers)
WINML_TEST(AdapterSessionTest, RegisterGraphTransformers_DML)
WINML_TEST(AdapterSessionTest, RegisterCustomRegistry)
WINML_TEST(AdapterSessionTest, RegisterCustomRegistry_DML)
WINML_TEST(AdapterSessionTest, LoadAndPurloinModel)
WINML_TEST(AdapterSessionTest, Profiling)
WINML_TEST(AdapterSessionTest, CopyInputAcrossDevices)
WINML_TEST(AdapterSessionTest, CopyInputAcrossDevices_DML)
WINML_TEST_CLASS_END()