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 
12 namespace sycl {
13 namespace detail {
14 namespace device_global_map {
15 
16 __SYCL_EXPORT void add(const void *DeviceGlobalPtr, const char *UniqueId) {
17  detail::ProgramManager::getInstance().addOrInitDeviceGlobalEntry(
18  DeviceGlobalPtr, UniqueId);
19 }
20 
21 } // namespace device_global_map
22 } // namespace detail
23 } // namespace sycl
24 } // __SYCL_INLINE_NAMESPACE(cl)
cl::sycl::detail::device_global_map::add
void add(const void *DeviceGlobalPtr, const char *UniqueId)
Definition: device_global_map.cpp:16
sycl
Definition: invoke_simd.hpp:68
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
program_manager.hpp
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12