forked from microsoft/DirectML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
precomp.h
48 lines (39 loc) · 1.02 KB
/
precomp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//-----------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
#pragma once
#define NOMINMAX
#include <cassert>
#include <optional>
#include <string>
#include <functional>
#include <numeric>
#ifdef __cpp_lib_span
#include <span>
#endif
#include <Windows.h>
#include <d3d12.h>
// ToDo: dxgi isn't available in WSL.
#include <dxgi1_5.h>
#include <dxgidebug.h>
#include <initguid.h>
#include <wrl/client.h>
#include <wrl/implements.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/functional.h>
#include <pybind11/operators.h>
#include <pybind11/buffer_info.h>
#include <pybind11/numpy.h>
namespace py = pybind11;
#define DML_TARGET_VERSION_USE_LATEST 1
#include <DirectML.h>
#include <DirectMLX.h>
#define IID_GRAPHICS_PPV_ARGS IID_PPV_ARGS
#include "d3dx12.h"
#include "util.h"
#include "model.h"
#include "typeconvert.h"
#include "device.h"