DPC++ Runtime
Runtime libraries for oneAPI DPC++
preview_marker.cpp
Go to the documentation of this file.
1 //==----- preview_marker.cpp --- Preview library marker symbol -------------==//
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 #include <sycl/detail/export.hpp>
10 
11 #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
12 namespace sycl {
13 inline namespace _V1 {
14 namespace detail {
15 
16 // Exported marker function to help verify that the preview library correctly
17 // defines the __INTEL_PREVIEW_BREAKING_CHANGES macro and is linked with when
18 // the -fpreview-breaking-changes option is used.
19 __SYCL_EXPORT void PreviewMajorReleaseMarker() {}
20 
21 } // namespace detail
22 } // namespace _V1
23 } // namespace sycl
24 #endif // __INTEL_PREVIEW_BREAKING_CHANGES
Definition: access.hpp:18