DPC++ Runtime
Runtime libraries for oneAPI DPC++
kernel_program_cache.cpp
Go to the documentation of this file.
1 //==--- kernel_program_cache.cpp - Cache for kernel and program -*- C++-*---==//
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 
11 #include <detail/plugin.hpp>
12 
13 namespace sycl {
14 inline namespace _V1 {
15 namespace detail {
16 const PluginPtr &KernelProgramCache::getPlugin() {
17  return MParentContext->getPlugin();
18 }
19 } // namespace detail
20 } // namespace _V1
21 } // namespace sycl
const PluginPtr & getPlugin() const
std::shared_ptr< plugin > PluginPtr
Definition: pi.hpp:48
Definition: access.hpp:18