Download install/include/cuda/std/latch from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/camenduru/thrust/resolve/main/install/include/cuda/std/latch
- Command line
-
hf download hf://camenduru/thrust/install/include/cuda/std/latch
-
curl -L -o latch https://huggingface.co/camenduru/thrust/resolve/main/install/include/cuda/std/latch
1.06 kB
| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of libcu++, the C++ Standard Library for your entire system, | |
| // 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_CUDA | |
| template<thread_scope _Sco> | |
| class latch : public std::__latch_base<_Sco> { | |
| public: | |
| _LIBCUDACXX_INLINE_VISIBILITY _LIBCUDACXX_CONSTEXPR | |
| latch(std::ptrdiff_t __count) | |
| : std::__latch_base<_Sco>(__count) { | |
| } | |
| }; | |
| _LIBCUDACXX_END_NAMESPACE_CUDA | |