Skip to content
Snippets Groups Projects
Commit de494f9b authored by Frederik Hennig's avatar Frederik Hennig
Browse files

add device memtag

parent 68353154
No related merge requests found
Pipeline #77783 failed with stages
in 12 minutes and 59 seconds
......@@ -38,6 +38,13 @@ struct unified : public _mem_tag
{};
inline unified unified_v;
/**
* @brief Memory tag indicating GPU device memory.
*/
struct device : public _mem_tag
{};
inline device device_v;
} // namespace memtag
template< typename T >
......@@ -81,6 +88,8 @@ struct SelectStandardAllocator< memtag::unified >
} // namespace detail
using MemTag = memtag::MemTag;
/**
* @brief Standard allocator implementation for a given memory tag and value type.
*
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment