|
|
@ -77,7 +77,7 @@ void randomx_release_cache(randomx_cache* cache);
|
|
|
|
* @param flags is the initialization flags. Only one flag is supported (can be set or not set):
|
|
|
|
* @param flags is the initialization flags. Only one flag is supported (can be set or not set):
|
|
|
|
* RANDOMX_FLAG_LARGE_PAGES - allocate memory in large pages
|
|
|
|
* RANDOMX_FLAG_LARGE_PAGES - allocate memory in large pages
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return Pointer to an allocated randomx_cache structure.
|
|
|
|
* @return Pointer to an allocated randomx_dataset structure.
|
|
|
|
* NULL is returned if memory allocation fails.
|
|
|
|
* NULL is returned if memory allocation fails.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
randomx_dataset *randomx_alloc_dataset(randomx_flags flags);
|
|
|
|
randomx_dataset *randomx_alloc_dataset(randomx_flags flags);
|
|
|
|