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
__SYCL_INLINE_NAMESPACE
(
cl
) {
15
namespace
sycl
{
16
namespace
detail {
17
18
#if __cplusplus >= 201703L
19
// Translates SYCL 2020 `specialization_id` to a unique symbolic identifier
20
// which is used internally by the toolchain
21
template
<auto &SpecName>
const
char
*get_spec_constant_symbolic_ID() {
22
return
get_spec_constant_symbolic_ID_impl<SpecName>();
23
}
24
#endif
25
26
}
// namespace detail
27
}
// namespace sycl
28
}
// __SYCL_INLINE_NAMESPACE(cl)
sycl
Definition:
invoke_simd.hpp:68
cl
We provide new interfaces for matrix muliply in this patch:
Definition:
access.hpp:13
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition:
defines_elementary.hpp:12
include
CL
sycl
detail
spec_const_integration.hpp
Generated by
1.8.17