Skip to content

Rename all pxd and pyx filenames to start with _ #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion dpctl/_memory.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# distutils: language = c++
# cython: language_level=3

from .backend cimport DPPLSyclUSMRef
from ._backend cimport DPPLSyclUSMRef
from ._sycl_core cimport SyclQueue


Expand Down
2 changes: 1 addition & 1 deletion dpctl/_memory.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# cython: language_level=3

import dpctl
from dpctl.backend cimport *
from dpctl._backend cimport *
from ._sycl_core cimport SyclContext, SyclQueue

from cpython cimport Py_buffer
Expand Down
2 changes: 1 addition & 1 deletion dpctl/_sycl_core.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# distutils: language = c++
# cython: language_level=3

from .backend cimport *
from ._backend cimport *


cdef class SyclContext:
Expand Down
2 changes: 1 addition & 1 deletion dpctl/sycl_core.pyx → dpctl/_sycl_core.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from __future__ import print_function
from enum import Enum, auto
import logging
from .backend cimport *
from ._backend cimport *
from ._memory cimport Memory
from libc.stdlib cimport malloc, free

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def extensions():
Extension(
"dpctl._sycl_core",
[
os.path.join("dpctl", "sycl_core.pyx"),
os.path.join("dpctl", "_sycl_core.pyx"),
],
**extension_args
),
Expand Down