Skip to content

Commit 8cdac2e

Browse files
committed
remove win32 from VirtualMemoryHandleTypeT
1 parent 962a88b commit 8cdac2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cuda_core/cuda/core/_memory/_virtual_memory_resource.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
__all__ = ["VirtualMemoryResourceOptions", "VirtualMemoryResource"]
2626

27-
VirtualMemoryHandleTypeT = Union[Literal["posix_fd", "generic", "win32", "win32_kmt", "fabric"], None]
27+
VirtualMemoryHandleTypeT = Union[Literal["posix_fd", "generic", "win32_kmt", "fabric"], None]
2828
VirtualMemoryLocationTypeT = Literal["device", "host", "host_numa", "host_numa_current"]
2929
VirtualMemoryGranularityT = Literal["minimum", "recommended"]
3030
VirtualMemoryAccessTypeT = Union[Literal["rw", "r"], None]
@@ -81,7 +81,6 @@ class VirtualMemoryResourceOptions:
8181
_handle_types = {
8282
None: _h.CU_MEM_HANDLE_TYPE_NONE,
8383
"posix_fd": _h.CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR,
84-
"win32": _h.CU_MEM_HANDLE_TYPE_WIN32,
8584
"win32_kmt": _h.CU_MEM_HANDLE_TYPE_WIN32_KMT,
8685
"fabric": _h.CU_MEM_HANDLE_TYPE_FABRIC,
8786
}

0 commit comments

Comments
 (0)