• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpctl / 26827260368

02 Jun 2026 02:41PM UTC coverage: 75.632% (+0.2%) from 75.476%
26827260368

Pull #2273

github

web-flow
Merge aac62939d into 92fb34f61
Pull Request #2273: task: syclqueue.copy() method

835 of 1158 branches covered (72.11%)

Branch coverage included in aggregate %.

47 of 47 new or added lines in 1 file covered. (100.0%)

6 existing lines in 1 file now uncovered.

3234 of 4222 relevant lines covered (76.6%)

273.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/dpctl/program/__init__.py
1
#                      Data Parallel Control (dpctl)
2
#
3
# Copyright 2020-2025 Intel Corporation
4
#
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
# you may not use this file except in compliance with the License.
7
# You may obtain a copy of the License at
8
#
9
#    http://www.apache.org/licenses/LICENSE-2.0
10
#
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS,
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16

17
"""
18
**Data Parallel Control Program** provides a way to create a SYCL kernel
19
from either an OpenCL program represented as a string or a SPIR-V binary
20
file.
21

22
"""
23

24
from ._program import (
1✔
25
    SyclKernel,
26
    SyclKernelBundle,
27
    SyclKernelBundleCompilationError,
28
    create_kernel_bundle_from_source,
29
    create_kernel_bundle_from_spirv,
30
    create_program_from_source,
31
    create_program_from_spirv,
32
)
33

34
__all__ = [
1✔
35
    "create_kernel_bundle_from_source",
36
    "create_kernel_bundle_from_spirv",
37
    "create_program_from_source",
38
    "create_program_from_spirv",
39
    "SyclKernel",
40
    "SyclKernelBundle",
41
    "SyclKernelBundleCompilationError",
42
    "SyclProgram",
43
    "SyclProgramCompilationError",
44
]
45

46

47
def __getattr__(name):
1✔
48
    if name == "SyclProgram":
1!
UNCOV
49
        from warnings import warn
×
50

UNCOV
51
        warn(
×
52
            "dpctl.program.SyclProgram is deprecated and will be removed in a "
53
            "future release. Use dpctl.program.SyclKernelBundle instead.",
54
            DeprecationWarning,
55
            stacklevel=2,
56
        )
UNCOV
57
        return SyclKernelBundle
×
58
    if name == "SyclProgramCompilationError":
1!
UNCOV
59
        from warnings import warn
×
60

UNCOV
61
        warn(
×
62
            "dpctl.program.SyclProgramCompilationError is deprecated and will "
63
            "be removed in a future release. Use "
64
            "dpctl.program.SyclKernelBundleCompilationError instead.",
65
            DeprecationWarning,
66
            stacklevel=2,
67
        )
UNCOV
68
        return SyclKernelBundleCompilationError
×
69
    raise AttributeError(f"module {__name__} has no attribute {name}")
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc