Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fdfdcaf

Browse filesBrowse files
author
Diptorup Deb
committed
Standardize license headers while keeping black happy.
1 parent 8ddfa5c commit fdfdcaf
Copy full SHA for fdfdcaf
Expand file treeCollapse file tree

21 files changed

+248
-242
lines changed
Open diff view settings
Collapse file

‎dpctl/__init__.pxd‎

Copy file name to clipboardExpand all lines: dpctl/__init__.pxd
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===------------- __init__.pxd - dpctl module --------*- Cython -*----------===#
1+
# ===------------ __init__.pxd - dpctl module --------*- Cython -*----------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This file declares the extension types and functions for the Cython API
2323
# implemented in sycl_core.pyx.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ===-----------------------------------------------------------------------===#
2626

2727
# distutils: language = c++
2828
# cython: language_level=3
Collapse file

‎dpctl/__init__.py‎

Copy file name to clipboardExpand all lines: dpctl/__init__.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===----------------- __init__.py - dpctl module -------*- Cython -*--------===#
1+
# ===---------------- __init__.py - dpctl module -------*- Cython -*--------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,12 +16,12 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# The top-level dpctl module.
2323
#
24-
#===------------------------------------------------------------------------===#
24+
# ===-----------------------------------------------------------------------===#
2525
"""
2626
**Data Parallel Control (dpCtl)**
2727
Collapse file

‎dpctl/_backend.pxd‎

Copy file name to clipboardExpand all lines: dpctl/_backend.pxd
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===------------- backend.pyx - dpctl module -------*- Cython -*------------===#
1+
# ===------------ backend.pyx - dpctl module -------*- Cython -*------------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This file defines the Cython extern types for the functions and opaque data
2323
# types defined by dpctl's C API.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ===-----------------------------------------------------------------------===#
2626

2727
# distutils: language = c++
2828
# cython: language_level=3
Collapse file

‎dpctl/_sycl_core.pxd‎

Copy file name to clipboardExpand all lines: dpctl/_sycl_core.pxd
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ===------------- sycl_core.pxd - dpctl module --------*- Cython -*--------===#
1+
# ===------------ sycl_core.pxd - dpctl module --------*- Cython -*---------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
Collapse file

‎dpctl/memory/__init__.pxd‎

Copy file name to clipboardExpand all lines: dpctl/memory/__init__.pxd
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===----------- __init__.pxd - dpctl.memory module ----*- Cython -*---------===#
1+
# ===---------- __init__.pxd - dpctl.memory module ----*- Cython -*---------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This file declares the extension types and functions for the Cython API
2323
# implemented in dpctl.memory._memory.pyx.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ===-----------------------------------------------------------------------===#
2626

2727
# distutils: language = c++
2828
# cython: language_level=3
Collapse file

‎dpctl/memory/__init__.py‎

Copy file name to clipboardExpand all lines: dpctl/memory/__init__.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===---------- __init__.py - dpctl.memory module -------*- Python -*--------===#
1+
# ===--------- __init__.py - dpctl.memory module -------*- Python -*--------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This is the dpctl.memory module containing the USM memory manager features
2323
# of dpctl.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ===-----------------------------------------------------------------------===#
2626
"""
2727
**Data Parallel Control Memory**
2828
Collapse file

‎dpctl/memory/_memory.pxd‎

Copy file name to clipboardExpand all lines: dpctl/memory/_memory.pxd
+8-2Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===--------------- _memory.pxd - dpctl module --------*- Cython -*---------===#
1+
# ===-------------- _memory.pxd - dpctl module --------*- Cython -*---------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,7 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===-----------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
20+
#
21+
# \file
22+
# This file has the Cython function declarations for the functions defined
23+
# in dpctl.memory._memory.pyx
24+
#
25+
# ===-----------------------------------------------------------------------===#
2026

2127
# distutils: language = c++
2228
# cython: language_level=3
Collapse file

‎dpctl/memory/_memory.pyx‎

Copy file name to clipboardExpand all lines: dpctl/memory/_memory.pyx
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===--------------- _memory.pyx - dpctl module --------*- Cython -*---------===#
1+
# ===-------------- _memory.pyx - dpctl module --------*- Cython -*---------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,14 +16,14 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ===-----------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This file implements Python buffer protocol using Sycl USM shared and host
2323
# allocators. The USM device allocator is also exposed through this module for
2424
# use in other Python modules.
2525
#
26-
#===------------------------------------------------------------------------===#
26+
# ===-----------------------------------------------------------------------===#
2727

2828
# distutils: language = c++
2929
# cython: language_level=3
Collapse file

‎dpctl/program/__init__.pxd‎

Copy file name to clipboardExpand all lines: dpctl/program/__init__.pxd
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===----------- __init__.pxd - dpctl.program module -*- Cython -*-----------===#
1+
# ===---------- __init__.pxd - dpctl.program module -*- Cython -*-----------===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===##
19+
# ===----------------------------------------------------------------------===##
2020
#
2121
# \file
2222
# This file declares the extension types and functions for the Cython API
2323
# implemented in dpctl.program._program.pyx.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ===-----------------------------------------------------------------------===#
2626

2727
# distutils: language = c++
2828
# cython: language_level=3
Collapse file

‎dpctl/program/__init__.py‎

Copy file name to clipboardExpand all lines: dpctl/program/__init__.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#===---------- __init__.py - dpctl.program module ----*---- Python ----*----===#
1+
# ==---------- __init__.py - dpctl.program module ----*---- Python ----*----===#
22
#
33
# Data Parallel Control (dpCtl)
44
#
@@ -16,13 +16,13 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
#===------------------------------------------------------------------------===#
19+
# ==------------------------------------------------------------------------===#
2020
#
2121
# \file
2222
# This dpctl.program module wraps Sycl program creation functions defined in
2323
# dppl_sycl_program_interface.h.
2424
#
25-
#===------------------------------------------------------------------------===#
25+
# ==------------------------------------------------------------------------===#
2626
"""
2727
**Data Parallel Control Program**
2828

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.