Low-Level Abstraction of Memory Access
llama.hpp
Go to the documentation of this file.
1 // Copyright 2018 Alexander Matthes, Bernhard Manfred Gruber
2 // SPDX-License-Identifier: MPL-2.0
3 
4 #pragma once
5 
24 
25 // NOLINTNEXTLINE(modernize-macro-to-enum)
26 #define LLAMA_VERSION_MAJOR 0
27 // NOLINTNEXTLINE(modernize-macro-to-enum)
28 #define LLAMA_VERSION_MINOR 6
29 // NOLINTNEXTLINE(modernize-macro-to-enum)
30 #define LLAMA_VERSION_PATCH 0
31 
32 // suppress warnings on missing return statements. we get a lot of these because nvcc/nvc++ have some troubles with if
33 // constexpr.
34 #ifdef __NVCC__
35 # ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
36 # pragma nv_diag_suppress 940
37 # else
38 # pragma diag_suppress 940
39 # endif
40 #endif
41 #ifdef __NVCOMPILER
42 # pragma push
43 # pragma diag_suppress 941
44 #endif
45 
46 #include "ArrayExtents.hpp"
47 #include "ArrayIndexRange.hpp"
48 #include "BlobAllocators.hpp"
49 #include "Copy.hpp"
50 #include "Core.hpp"
51 #include "DumpMapping.hpp"
52 #include "Meta.hpp"
53 #include "ProxyRefOpMixin.hpp"
54 #include "RecordRef.hpp"
55 #include "Simd.hpp"
56 #include "StructName.hpp"
57 #include "Tuple.hpp"
58 #include "Vector.hpp"
59 #include "View.hpp"
60 #include "macros.hpp"
61 #include "mapping/AoS.hpp"
62 #include "mapping/AoSoA.hpp"
64 #include "mapping/BitPackedInt.hpp"
65 #include "mapping/Bytesplit.hpp"
66 #include "mapping/Byteswap.hpp"
67 #include "mapping/ChangeType.hpp"
69 #include "mapping/Heatmap.hpp"
70 #include "mapping/Null.hpp"
71 #include "mapping/One.hpp"
73 #include "mapping/Projection.hpp"
74 #include "mapping/SoA.hpp"
75 #include "mapping/Split.hpp"
76 
77 #if defined(__NVCC__)
78 # ifdef __NVCC_DIAG_PRAGMA_SUPPORT__
79 # pragma nv_diag_default 940
80 # else
81 # pragma diag_default 940
82 # endif
83 #endif
84 #ifdef __NVCOMPILER
85 # pragma push
86 # pragma diag_default 941
87 #endif