Loading...
Searching...
No Matches
failure_callback_t.hpp
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5#pragma once
6
7#include <rmm/detail/export.hpp>
8
9#include <cstddef>
10#include <functional>
11
12RMM_NAMESPACE_BEGIN
13namespace mr {
18
34using failure_callback_t = std::function<bool(std::size_t, void*)>;
35 // end of group
37} // namespace mr
38RMM_NAMESPACE_END
std::function< bool(std::size_t, void *)> failure_callback_t
Callback function type used by failure_callback_resource_adaptor.
Definition failure_callback_t.hpp:34