File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 24
24
"""
25
25
__author__ = "Intel Corp."
26
26
27
- from .enum_types import *
28
- from .enum_types import __all__ as _enum_types_all__
29
27
from dpctl ._sycl_context import *
30
28
from dpctl ._sycl_context import __all__ as _sycl_context__all__
31
29
from dpctl ._sycl_device import *
40
38
from dpctl ._sycl_queue import __all__ as _sycl_queue__all__
41
39
from dpctl ._sycl_queue_manager import *
42
40
from dpctl ._sycl_queue_manager import __all__ as _sycl_qm__all__
43
- from ._version import get_versions
44
41
42
+ from ._version import get_versions
43
+ from .enum_types import *
44
+ from .enum_types import __all__ as _enum_types_all__
45
45
46
46
__all__ = (
47
47
_sycl_context__all__
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ from ._backend cimport ( # noqa: E211
81
81
_partition_affinity_domain_type,
82
82
)
83
83
84
- from . import backend_type, device_type
84
+ from .enum_types import backend_type, device_type
85
85
86
86
from libc.stdint cimport int64_t, uint32_t
87
87
from libc.stdlib cimport free, malloc
Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ from ._backend cimport ( # noqa: E211
47
47
_device_type,
48
48
)
49
49
50
- from . import backend_type
51
- from . import device_type as device_type_t
50
+ from .enum_types import backend_type
51
+ from .enum_types import device_type as device_type_t
52
52
53
53
__all__ = [
54
54
" get_devices" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ from ._backend cimport ( # noqa: E211
46
46
_backend_type,
47
47
)
48
48
49
- from . import backend_type
49
+ from .enum_types import backend_type
50
50
51
51
__all__ = [
52
52
" get_platforms" ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ from .memory._memory cimport _Memory
59
59
60
60
import ctypes
61
61
62
- from . import backend_type
62
+ from .enum_types import backend_type
63
63
64
64
from cpython cimport pycapsule
65
65
from libc.stdlib cimport free, malloc
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ from __future__ import print_function
22
22
import logging
23
23
from contextlib import contextmanager
24
24
25
- from . import backend_type, device_type
25
+ from .enum_types import backend_type, device_type
26
26
27
27
from ._backend cimport ( # noqa: E211
28
28
DPCTLQueueMgr_GetCurrentQueue,
You can’t perform that action at this time.
0 commit comments