Download dependencies/libcudacxx/libcxx/src/atomic.cpp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 942 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/src/atomic.cpp
- Command line
-
hf download hf://camenduru/thrust/dependencies/libcudacxx/libcxx/src/atomic.cpp
-
curl -L -o atomic.cpp https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/src/atomic.cpp
942 Bytes
| //===------------------------- atomic.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 | |
| __libcpp_contention_t __libcpp_contention_state_[ 256 /* < there's no magic in this number */ ]; | |
| _LIBCUDACXX_FUNC_VIS | |
| __libcpp_contention_t * __libcpp_contention_state(void const volatile * p) _NOEXCEPT { | |
| return __libcpp_contention_state_ + ((std::uintptr_t)p & 255); | |
| } | |
| _LIBCUDACXX_END_NAMESPACE_STD | |