Skip to content

Commit 95eaf00

Browse files
updates
1 parent 535e86a commit 95eaf00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cuda_core/cuda/core/experimental/_module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class ObjectCode:
276276
"""
277277

278278
__slots__ = ("_handle", "_backend_version", "_code_type", "_module", "_loader", "_sym_map")
279-
_supported_code_type = ("cubin", "ptx", "ltoir", "fatbin")
279+
_supported_code_type = ("cubin", "ptx", "ltoir", "fatbin", "object", "lib")
280280

281281
def __new__(self, *args, **kwargs):
282282
raise RuntimeError(
@@ -433,7 +433,7 @@ def get_kernel(self, name) -> Kernel:
433433
Newly created kernel object.
434434
435435
"""
436-
supported_code_types = ("cubin", "ptx", "fatbin", "object", "lib")
436+
supported_code_types = ("cubin", "ptx", "fatbin")
437437
if self._code_type not in supported_code_types:
438438
raise RuntimeError(f'Unsupported code type "{self._code_type}" ({supported_code_types=})')
439439
try:

0 commit comments

Comments
 (0)