Skip to content

Commit e34ad68

Browse files
author
Diptorup Deb
committed
Rename all pxd and pyx filenames to start with _
1 parent 9fcbaa5 commit e34ad68

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed
File renamed without changes.

dpctl/_memory.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# distutils: language = c++
2222
# cython: language_level=3
2323

24-
from .backend cimport DPPLSyclUSMRef
24+
from ._backend cimport DPPLSyclUSMRef
2525
from ._sycl_core cimport SyclQueue
2626

2727

dpctl/_memory.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# cython: language_level=3
3030

3131
import dpctl
32-
from dpctl.backend cimport *
32+
from dpctl._backend cimport *
3333
from ._sycl_core cimport SyclContext, SyclQueue
3434

3535
from cpython cimport Py_buffer

dpctl/_sycl_core.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# distutils: language = c++
2828
# cython: language_level=3
2929

30-
from .backend cimport *
30+
from ._backend cimport *
3131

3232

3333
cdef class SyclContext:

dpctl/sycl_core.pyx renamed to dpctl/_sycl_core.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from __future__ import print_function
3030
from enum import Enum, auto
3131
import logging
32-
from .backend cimport *
32+
from ._backend cimport *
3333
from ._memory cimport Memory
3434
from libc.stdlib cimport malloc, free
3535

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ def extensions():
116116
}
117117

118118
extensions = [
119-
Extension('dpctl._sycl_core', [os.path.join('dpctl', 'sycl_core.pyx'),],
119+
Extension('dpctl._sycl_core',
120+
[os.path.join('dpctl', '_sycl_core.pyx'),],
120121
**extension_args),
121122
Extension('dpctl._memory', [os.path.join('dpctl', '_memory.pyx'),],
122123
**extension_args),

0 commit comments

Comments
 (0)