Skip to content

Commit f2e2bc6

Browse files
author
Felix Igelbrink
committed
fixed alignment in LaunchParamsRecord
1 parent d9c6931 commit f2e2bc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

optix/struct.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ cdef class LaunchParamsRecord(_StructHelper):
290290
All options are the same as in the base class.
291291
The alignment parameter is ignored though and only present for the interface.
292292
"""
293-
def __init__(self, names=(), formats=(), values=None, size=1, alignment=1):
293+
def __init__(self, names=(), formats=(), values=None, size=1, alignment=8):
294294
# init with 8 bytes alignment #TODO is there a constant for that?
295295
super().__init__(names, formats, values=None, size=size, alignment=8)
296296

0 commit comments

Comments
 (0)