Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This file defines the Memory class. More...
#include <algorithm>
#include <cassert>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <spirv/unified1/spirv.h>
#include "talvos/Device.h"
#include "talvos/Memory.h"
Go to the source code of this file.
Namespaces | |
talvos | |
Macros | |
#define | BUFFER_BITS (16) |
Number of bits used for the buffer ID. More... | |
#define | OFFSET_BITS (64 - BUFFER_BITS) |
Number of bits used for the address offset. More... | |
#define | LOCK_ATOMIC_MUTEX(Address) |
#define | UNLOCK_ATOMIC_MUTEX(Address) |
This file defines the Memory class.
Definition in file Memory.cpp.
#define BUFFER_BITS (16) |
Number of bits used for the buffer ID.
Definition at line 23 of file Memory.cpp.
#define LOCK_ATOMIC_MUTEX | ( | Address | ) |
Definition at line 29 of file Memory.cpp.
#define OFFSET_BITS (64 - BUFFER_BITS) |
Number of bits used for the address offset.
Definition at line 26 of file Memory.cpp.
#define UNLOCK_ATOMIC_MUTEX | ( | Address | ) |
Definition at line 32 of file Memory.cpp.