Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Nov 26, 2023
1 parent 932fc30 commit 6f2a607
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
Empty file modified generate.sh
100644 → 100755
Empty file.
72 changes: 36 additions & 36 deletions gpuctypes/hip.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,14 @@ class struct_hipResourceDesc(Structure):
class union_hipResourceDesc_res(Union):
pass

class struct_hipResourceDesc_0_array(Structure):
pass

struct_hipResourceDesc_0_array._pack_ = 1 # source:False
struct_hipResourceDesc_0_array._fields_ = [
('array', ctypes.POINTER(struct_hipArray)),
]

class struct_hipResourceDesc_0_linear(Structure):
pass

Expand Down Expand Up @@ -1304,14 +1312,6 @@ class struct_hipResourceDesc_0_mipmap(Structure):
('mipmap', ctypes.POINTER(struct_hipMipmappedArray)),
]

class struct_hipResourceDesc_0_array(Structure):
pass

struct_hipResourceDesc_0_array._pack_ = 1 # source:False
struct_hipResourceDesc_0_array._fields_ = [
('array', ctypes.POINTER(struct_hipArray)),
]

union_hipResourceDesc_res._pack_ = 1 # source:False
union_hipResourceDesc_res._fields_ = [
('array', struct_hipResourceDesc_0_array),
Expand All @@ -1334,6 +1334,25 @@ class struct_HIP_RESOURCE_DESC_st(Structure):
class union_HIP_RESOURCE_DESC_st_res(Union):
pass

class struct_HIP_RESOURCE_DESC_st_0_array(Structure):
pass

struct_HIP_RESOURCE_DESC_st_0_array._pack_ = 1 # source:False
struct_HIP_RESOURCE_DESC_st_0_array._fields_ = [
('hArray', ctypes.POINTER(struct_hipArray)),
]

class struct_HIP_RESOURCE_DESC_st_0_linear(Structure):
pass

struct_HIP_RESOURCE_DESC_st_0_linear._pack_ = 1 # source:False
struct_HIP_RESOURCE_DESC_st_0_linear._fields_ = [
('devPtr', ctypes.POINTER(None)),
('format', hipArray_Format),
('numChannels', ctypes.c_uint32),
('sizeInBytes', ctypes.c_uint64),
]

class struct_HIP_RESOURCE_DESC_st_0_pitch2D(Structure):
pass

Expand Down Expand Up @@ -1363,25 +1382,6 @@ class struct_HIP_RESOURCE_DESC_st_0_mipmap(Structure):
('hMipmappedArray', ctypes.POINTER(struct_hipMipmappedArray)),
]

class struct_HIP_RESOURCE_DESC_st_0_array(Structure):
pass

struct_HIP_RESOURCE_DESC_st_0_array._pack_ = 1 # source:False
struct_HIP_RESOURCE_DESC_st_0_array._fields_ = [
('hArray', ctypes.POINTER(struct_hipArray)),
]

class struct_HIP_RESOURCE_DESC_st_0_linear(Structure):
pass

struct_HIP_RESOURCE_DESC_st_0_linear._pack_ = 1 # source:False
struct_HIP_RESOURCE_DESC_st_0_linear._fields_ = [
('devPtr', ctypes.POINTER(None)),
('format', hipArray_Format),
('numChannels', ctypes.c_uint32),
('sizeInBytes', ctypes.c_uint64),
]

union_HIP_RESOURCE_DESC_st_res._pack_ = 1 # source:False
union_HIP_RESOURCE_DESC_st_res._fields_ = [
('array', struct_HIP_RESOURCE_DESC_st_0_array),
Expand Down Expand Up @@ -3248,6 +3248,15 @@ class struct___hip_texture(Structure):
pass


# values for enumeration 'hipTextureFilterMode'
hipTextureFilterMode__enumvalues = {
0: 'hipFilterModePoint',
1: 'hipFilterModeLinear',
}
hipFilterModePoint = 0
hipFilterModeLinear = 1
hipTextureFilterMode = ctypes.c_uint32 # enum

# values for enumeration 'hipTextureAddressMode'
hipTextureAddressMode__enumvalues = {
0: 'hipAddressModeWrap',
Expand All @@ -3269,15 +3278,6 @@ class struct___hip_texture(Structure):
hipReadModeElementType = 0
hipReadModeNormalizedFloat = 1
hipTextureReadMode = ctypes.c_uint32 # enum

# values for enumeration 'hipTextureFilterMode'
hipTextureFilterMode__enumvalues = {
0: 'hipFilterModePoint',
1: 'hipFilterModeLinear',
}
hipFilterModePoint = 0
hipFilterModeLinear = 1
hipTextureFilterMode = ctypes.c_uint32 # enum
struct_textureReference._pack_ = 1 # source:False
struct_textureReference._fields_ = [
('normalized', ctypes.c_int32),
Expand Down

0 comments on commit 6f2a607

Please sign in to comment.