TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
mem.hpp
Go to the documentation of this file.
1// Copyright (c) 2024 Simons Foundation
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0.txt
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Authors: Thomas Hahn
16
22#pragma once
23
24#include "./device.hpp"
26#include "./mem/allocators.hpp"
27#include "./mem/handle.hpp"
28#include "./mem/malloc.hpp"
29#include "./mem/memcpy.hpp"
30#include "./mem/memset.hpp"
31#include "./mem/policies.hpp"
Provides definitions and type traits involving the different memory address spaces supported by nda.
Provides custom allocators for the nda library.
Provides GPU and non-GPU specific functionality.
Provides various handles to take care of memory management for nda::basic_array and nda::basic_array_...
Provides a generic malloc and free function for different address spaces.
Defines various memory handling policies.
Provides a generic memcpy and memcpy2D function for different address spaces.
Provides a generic memset and memset2D function for different address spaces.