Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
generated_cudaD3D11_meta.h58 linesDownload Raw Back to include
1// This file is generated.  Any changes you make will be lost during the next clean build.
2
3// Dependent includes
4#include <rpcsal.h> // XP build fails in D3D10 header unless you include this first
5#include <D3D11.h>
6
7// CUDA public interface, for type definitions and cu* function prototypes
8#include "cudaD3D11.h"
9
10
11// *************************************************************************
12//      Definitions of structs to hold parameters for each function
13// *************************************************************************
14
15typedef struct cuD3D11GetDevice_params_st {
16    CUdevice *pCudaDevice;
17    IDXGIAdapter *pAdapter;
18} cuD3D11GetDevice_params;
19
20typedef struct cuD3D11GetDevices_params_st {
21    unsigned int *pCudaDeviceCount;
22    CUdevice *pCudaDevices;
23    unsigned int cudaDeviceCount;
24    ID3D11Device *pD3D11Device;
25    CUd3d11DeviceList deviceList;
26} cuD3D11GetDevices_params;
27
28typedef struct cuGraphicsD3D11RegisterResource_params_st {
29    CUgraphicsResource *pCudaResource;
30    ID3D11Resource *pD3DResource;
31    unsigned int Flags;
32} cuGraphicsD3D11RegisterResource_params;
33
34typedef struct cuD3D11CtxCreate_v2_params_st {
35    CUcontext *pCtx;
36    CUdevice *pCudaDevice;
37    unsigned int Flags;
38    ID3D11Device *pD3DDevice;
39} cuD3D11CtxCreate_v2_params;
40
41typedef struct cuD3D11CtxCreateOnDevice_params_st {
42    CUcontext *pCtx;
43    unsigned int flags;
44    ID3D11Device *pD3DDevice;
45    CUdevice cudaDevice;
46} cuD3D11CtxCreateOnDevice_params;
47
48typedef struct cuD3D11GetDirect3DDevice_params_st {
49    ID3D11Device **ppD3DDevice;
50} cuD3D11GetDirect3DDevice_params;
51
52typedef struct cuD3D11CtxCreate_params_st {
53    CUcontext *pCtx;
54    CUdevice *pCudaDevice;
55    unsigned int Flags;
56    ID3D11Device *pD3DDevice;
57} cuD3D11CtxCreate_params;
58 
codekingpro/portable-devtools · Team Ai