| //===------------------------- barrier.cpp ---------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| _LIBCUDACXX_BEGIN_NAMESPACE_STD | |
| _LIBCUDACXX_EXPORTED_FROM_ABI | |
| thread_local ptrdiff_t __libcpp_thread_favorite_barrier_index = 0; | |
| _LIBCUDACXX_END_NAMESPACE_STD | |