Skip to content

Fix VMM test suite #1276

Closed
Closed

Description

@leofang

Using SECURITY_ATTRIBUTES was wrong:

def get_sa():
class SECURITY_ATTRIBUTES(ctypes.Structure):
_fields_ = [
("nLength", wintypes.DWORD),
("lpSecurityDescriptor", wintypes.LPVOID),
("bInheritHandle", wintypes.BOOL),
]
sa = SECURITY_ATTRIBUTES()
sa.nLength = ctypes.sizeof(sa)
sa.lpSecurityDescriptor = None
sa.bInheritHandle = False # TODO: why?
return sa
if IS_WINDOWS:
return (("win32", get_sa()), ("win32_kmt", None))

we should use OBJECT_ATTRIBUTES instead. See discussion starting here: #1263 (comment).

Activity

  1. added this to the cuda.core beta 10 milestone on Nov 20, 2025
  2. self-assigned this
    on Nov 20, 2025
  3. added
    bugSomething isn't working
    P0High priority - Must do!
    testImprovements or additions to tests
    cuda.coreEverything related to the cuda.core module
    on Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0High priority - Must do!bugSomething isn't workingcuda.coreEverything related to the cuda.core moduletestImprovements or additions to tests

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions