//------------------------------------------------------------------------------ // rmm_wrap/rmm_wrap.hpp //------------------------------------------------------------------------------ // SPDX-License-Identifier: Apache-2.0 //------------------------------------------------------------------------------ #pragma once #include "stddef.h" #include //#include //#include //#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "rmm_wrap.h" typedef rmm::mr::new_delete_resource host_mr; typedef rmm::mr::pinned_memory_resource pinned_mr; typedef rmm::mr::cuda_memory_resource device_mr; typedef rmm::mr::managed_memory_resource managed_mr; typedef rmm::mr::pool_memory_resource pool_mr; typedef rmm::mr::pool_memory_resource host_pool_mr; typedef rmm::mr::pool_memory_resource host_pinned_pool_mr; typedef rmm::mr::pool_memory_resource device_pool_mr; typedef rmm::mr::pool_memory_resource managed_pool_mr; typedef std::unordered_map< std::size_t, std::size_t> alloc_map; typedef rmm::cuda_stream_pool cuda_stream_pool; typedef rmm::cuda_stream_view cuda_stream_view;