cuda: Add workaround for gir build
ERROR:../girepository/girparser.c:343:state_switch: assertion failed: (ctx->state != newstate) Bail out! ERROR:../girepository/girparser.c:343:state_switch: assertion failed: (ctx->state != newstate) Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4510>
This commit is contained in:
parent
7b6023d9cf
commit
dc2fd997a2
@ -268,19 +268,21 @@ typedef struct
|
|||||||
int id;
|
int id;
|
||||||
} CUmemLocation;
|
} CUmemLocation;
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
unsigned char compressionType;
|
||||||
|
unsigned char gpuDirectRDMACapable;
|
||||||
|
unsigned short usage;
|
||||||
|
unsigned char reserved[4];
|
||||||
|
} CUmemAllocationPropAllocFlags;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
CUmemAllocationType type;
|
CUmemAllocationType type;
|
||||||
CUmemAllocationHandleType requestedHandleTypes;
|
CUmemAllocationHandleType requestedHandleTypes;
|
||||||
CUmemLocation location;
|
CUmemLocation location;
|
||||||
void *win32HandleMetaData;
|
void *win32HandleMetaData;
|
||||||
struct
|
CUmemAllocationPropAllocFlags allocFlags;
|
||||||
{
|
|
||||||
unsigned char compressionType;
|
|
||||||
unsigned char gpuDirectRDMACapable;
|
|
||||||
unsigned short usage;
|
|
||||||
unsigned char reserved[4];
|
|
||||||
} allocFlags;
|
|
||||||
} CUmemAllocationProp;
|
} CUmemAllocationProp;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user