Mneme
Mneme a tool allowing recording the execution of a GPU (CUDA/HIP) kernel and replaying that kernel as an independent executable.
Loading...
Searching...
No Matches
DeviceTraits.hpp File Reference
#include <dlfcn.h>
#include <map>
#include <optional>
#include <utility>
#include <vector>
#include "mneme/MnemeLogger.hpp"
#include "mneme/MnemeUtils.hpp"

Go to the source code of this file.

Namespaces

namespace  mneme

Enumerations

enum  mneme::DeviceVendors { mneme::HIP , mneme::CUDA }
enum  mneme::FuncAttributes { mneme::REGISTER_USAGE , mneme::LOCALMEM_USAGE , mneme::CONSTMEM_USAGE }
enum class  mneme::MapStatus { mneme::Mapped , mneme::Occupied , mneme::OutOfMemory }

Functions

void * mneme::loadRTLib (const char *Name)
template<DeviceVendors Vendor, typename FnT>
FnT mneme::getRuntimeFn (const char *Name)