Monero
Loading...
Searching...
No Matches
dataset.hpp File Reference
#include <cstdint>
#include <vector>
#include <type_traits>
#include "common.hpp"
#include "superscalar_program.hpp"
#include "allocator.hpp"
#include "argon2.h"
Include dependency graph for dataset.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  randomx_dataset
struct  randomx_cache

Namespaces

namespace  randomx

Typedefs

using randomx::DefaultAllocator = AlignedAllocator<CacheLineSize>

Functions

template<class Allocator>
void randomx::deallocDataset (randomx_dataset *dataset)
template<class Allocator>
void randomx::deallocCache (randomx_cache *cache)
void randomx::initCache (randomx_cache *cache, const void *key, size_t keySize)
void randomx::initCacheCompile (randomx_cache *cache, const void *key, size_t keySize)
void randomx::initDatasetItem (randomx_cache *cache, uint8_t *out, uint64_t itemNumber)
void randomx::initDataset (randomx_cache *cache, uint8_t *dataset, uint32_t startItem, uint32_t endItem)
randomx_argon2_implrandomx::selectArgonImpl (randomx_flags flags)