DPC++ Runtime
Runtime libraries for oneAPI DPC++
spec_const_integration.hpp
Go to the documentation of this file.
1
//==---------------------- spec_const_integration.hpp ----------------------==//
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
9
#pragma once
10
11
// This header file must not be included to any DPC++ headers.
12
// This header file should only be included to integration footer.
13
14
namespace
sycl
{
15
inline
namespace
_V1 {
16
namespace
detail {
17
// Translates SYCL 2020 `specialization_id` to a unique symbolic identifier
18
// which is used internally by the toolchain
19
template
<auto &SpecName>
const
char
*
get_spec_constant_symbolic_ID
() {
20
return
get_spec_constant_symbolic_ID_impl<SpecName>();
21
}
22
}
// namespace detail
23
}
// namespace _V1
24
}
// namespace sycl
sycl::_V1::detail::get_spec_constant_symbolic_ID
const char * get_spec_constant_symbolic_ID()
Definition:
spec_const_integration.hpp:19
sycl
Definition:
access.hpp:18
include
sycl
detail
spec_const_integration.hpp
Generated by
1.9.1