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
MnemeAnnotationInternal.hpp
Go to the documentation of this file.
1#pragma once
3#include <cstddef>
4#include <llvm/Support/raw_ostream.h>
5
6namespace mneme {
7namespace metadata {
8void serialize(llvm::raw_ostream &OS, const Metadata &Md);
9Metadata fromBuffer(const char *&Buffer);
10// The number of bytes serialize() writes for Md.
11size_t serializedSize(const Metadata &Md);
12} // namespace metadata
13} // namespace mneme
Definition MnemeAnnotationInternal.cpp:6
Metadata fromBuffer(const char *&Buffer)
Definition MnemeAnnotationInternal.cpp:29
void serialize(llvm::raw_ostream &OS, const Metadata &Md)
Definition MnemeAnnotationInternal.cpp:7
size_t serializedSize(const Metadata &Md)
Definition MnemeAnnotationInternal.cpp:23
Definition MnemeAnnotation.cpp:3