DPC++ Runtime
Runtime libraries for oneAPI DPC++
device_global_map.cpp
Go to the documentation of this file.
1 //==-------------------- device_global_map.cpp -----------------------------==//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
10 
11 namespace sycl {
12 inline namespace _V1 {
13 namespace detail::device_global_map {
14 
15 __SYCL_EXPORT void add(const void *DeviceGlobalPtr, const char *UniqueId) {
17  DeviceGlobalPtr, UniqueId);
18 }
19 
20 } // namespace detail::device_global_map
21 } // namespace _V1
22 } // namespace sycl
static ProgramManager & getInstance()
void addOrInitDeviceGlobalEntry(const void *DeviceGlobalPtr, const char *UniqueId)
void add(const void *DeviceGlobalPtr, const char *UniqueId)
Definition: access.hpp:18