onnxruntime/winml/test/api/RawApiTestsGpu.h
Sheil Kumar 43a828f0a2
Add tests for WinRT Projection Raw ABI consumption (#3718)
Add tests for WinRT Projection Raw ABI consumption
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-05-02 00:33:17 -07:00

32 lines
1 KiB
C

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "test.h"
struct RawApiTestsGpuApi
{
SetupClass RawApiTestsGpuApiTestsClassSetup;
SetupTest MethodSetup;
VoidTest CreateDirectXDevice;
VoidTest CreateD3D11DeviceDevice;
VoidTest CreateD3D12CommandQueueDevice;
VoidTest CreateDirectXHighPerformanceDevice;
VoidTest CreateDirectXMinPowerDevice;
VoidTest Evaluate;
VoidTest EvaluateNoInputCopy;
};
const RawApiTestsGpuApi& getapi();
WINML_TEST_CLASS_BEGIN(RawApiTestsGpu)
WINML_TEST_CLASS_SETUP_CLASS(RawApiTestsGpuApiTestsClassSetup)
WINML_TEST_CLASS_SETUP_METHOD(MethodSetup)
WINML_TEST_CLASS_BEGIN_TESTS
WINML_TEST(RawApiTestsGpu, CreateDirectXDevice)
WINML_TEST(RawApiTestsGpu, CreateD3D11DeviceDevice)
WINML_TEST(RawApiTestsGpu, CreateD3D12CommandQueueDevice)
WINML_TEST(RawApiTestsGpu, CreateDirectXHighPerformanceDevice)
WINML_TEST(RawApiTestsGpu, CreateDirectXMinPowerDevice)
WINML_TEST(RawApiTestsGpu, Evaluate)
WINML_TEST(RawApiTestsGpu, EvaluateNoInputCopy)
WINML_TEST_CLASS_END()