thrust / dependencies /libcudacxx /libcxx /src /support /runtime /exception_pointer_unimplemented.ipp
Download dependencies/libcudacxx/libcxx/src/support/runtime/exception_pointer_unimplemented.ipp from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/src/support/runtime/exception_pointer_unimplemented.ipp
- Command line
-
hf download hf://camenduru/thrust/dependencies/libcudacxx/libcxx/src/support/runtime/exception_pointer_unimplemented.ipp
-
curl -L -o exception_pointer_unimplemented.ipp https://huggingface.co/camenduru/thrust/resolve/main/dependencies/libcudacxx/libcxx/src/support/runtime/exception_pointer_unimplemented.ipp
1.84 kB
| // -*- C++ -*- | |
| //===----------------------------------------------------------------------===// | |
| // | |
| // 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 | |
| // | |
| //===----------------------------------------------------------------------===// | |
| namespace std { | |
| exception_ptr::~exception_ptr() _NOEXCEPT | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| } | |
| exception_ptr::exception_ptr(const exception_ptr& other) _NOEXCEPT | |
| : __ptr_(other.__ptr_) | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| } | |
| exception_ptr& exception_ptr::operator=(const exception_ptr& other) _NOEXCEPT | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| } | |
| nested_exception::nested_exception() _NOEXCEPT | |
| : __ptr_(current_exception()) | |
| { | |
| } | |
| nested_exception::~nested_exception() _NOEXCEPT | |
| { | |
| } | |
| _LIBCUDACXX_NORETURN | |
| void | |
| nested_exception::rethrow_nested() const | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| if (__ptr_ == nullptr) | |
| terminate(); | |
| rethrow_exception(__ptr_); | |
| } | |
| exception_ptr current_exception() _NOEXCEPT | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| } | |
| _LIBCUDACXX_NORETURN | |
| void rethrow_exception(exception_ptr p) | |
| { | |
| fprintf(stderr, "exception_ptr not yet implemented\n"); | |
| ::abort(); | |
| } | |
| } // namespace std | |