Loading...
Searching...
No Matches
device_vector.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2020-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#pragma once
7
8#include <rmm/detail/export.hpp>
9#include <rmm/detail/thrust_namespace.h>
11
12#include <thrust/device_vector.h>
13
14RMM_NAMESPACE_BEGIN
24template <typename T>
25using device_vector = thrust::device_vector<T, rmm::mr::thrust_allocator<T>>;
26 // end of group
28RMM_NAMESPACE_END
thrust::device_vector< T, rmm::mr::thrust_allocator< T > > device_vector
Alias for a thrust::device_vector that uses RMM for memory allocation.
Definition device_vector.hpp:25