Skip to content

Commit fdfdcaf

Browse files
author
Diptorup Deb
committed
Standardize license headers while keeping black happy.
1 parent 8ddfa5c commit fdfdcaf

21 files changed

+248
-242
lines changed

dpctl/__init__.pxd

Lines 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

dpctl/__init__.py

Lines 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

dpctl/_backend.pxd

Lines 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

dpctl/_sycl_core.pxd

Lines 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
#

dpctl/memory/__init__.pxd

Lines 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

dpctl/memory/__init__.py

Lines 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

dpctl/memory/_memory.pxd

Lines 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

dpctl/memory/_memory.pyx

Lines 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

dpctl/program/__init__.pxd

Lines 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

dpctl/program/__init__.py

Lines 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)