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

IntelPython / dpctl / 28596131537

02 Jul 2026 02:03PM UTC coverage: 75.411% (-0.3%) from 75.677%
28596131537

Pull #2331

github

web-flow
Merge 89ec05ee8 into 7e85c9dfb
Pull Request #2331: Add Python bindings for SYCL IPC memory via dpctl

834 of 1158 branches covered (72.02%)

Branch coverage included in aggregate %.

0 of 19 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

3245 of 4251 relevant lines covered (76.33%)

272.55 hits per line

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

0.0
/libsyclinterface/source/dpctl_sycl_ipc_memory_stubs.cpp
1
//===- dpctl_sycl_ipc_memory_stubs.cpp - Stub IPC functions ---------------===//
2
//
3
//                      Data Parallel Control (dpctl)
4
//
5
// Copyright 2020-2026 Intel Corporation
6
//
7
// Licensed under the Apache License, Version 2.0 (the "License");
8
// you may not use this file except in compliance with the License.
9
// You may obtain a copy of the License at
10
//
11
//    http://www.apache.org/licenses/LICENSE-2.0
12
//
13
// Unless required by applicable law or agreed to in writing, software
14
// distributed under the License is distributed on an "AS IS" BASIS,
15
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
// See the License for the specific language governing permissions and
17
// limitations under the License.
18
//
19
//===----------------------------------------------------------------------===//
20
///
21
/// \file
22
/// Stub implementations of DPCTLIPCMem_* functions for builds where the
23
/// SYCL IPC memory extension is not available. These allow _memory.pyx to
24
/// always link; the functions return error codes at runtime.
25
///
26
//===----------------------------------------------------------------------===//
27

28
#include "dpctl_error_handlers.h"
29
#include "dpctl_sycl_ipc_memory_interface.h"
30
#include <cstddef>
31

32
int DPCTLIPCMem_GetHandle(__dpctl_keep DPCTLSyclUSMRef,
33
                          __dpctl_keep const DPCTLSyclContextRef,
34
                          char **,
35
                          size_t *)
NEW
36
{
×
NEW
37
    error_handler("IPC memory not supported in this build.", __FILE__, __func__,
×
NEW
38
                  __LINE__);
×
NEW
39
    return 1;
×
NEW
40
}
×
41

42
__dpctl_give DPCTLSyclUSMRef
43
DPCTLIPCMem_OpenHandle(const char *,
44
                       size_t,
45
                       __dpctl_keep const DPCTLSyclContextRef,
46
                       __dpctl_keep const DPCTLSyclDeviceRef)
NEW
47
{
×
NEW
48
    error_handler("IPC memory not supported in this build.", __FILE__, __func__,
×
NEW
49
                  __LINE__);
×
NEW
50
    return nullptr;
×
NEW
51
}
×
52

53
void DPCTLIPCMem_CloseHandle(__dpctl_keep DPCTLSyclUSMRef,
54
                             __dpctl_keep const DPCTLSyclContextRef)
NEW
55
{
×
NEW
56
    error_handler("IPC memory not supported in this build.", __FILE__, __func__,
×
NEW
57
                  __LINE__);
×
NEW
58
}
×
59

NEW
60
void DPCTLIPCMem_FreeHandleData(char *Data) { (void)Data; }
×
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