Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Runtime::Internal::CacheEntry Struct Reference

#include <hashmap.h>

Public Member Functions

bool init (void *user_context, const uint8_t *cache_key, size_t cache_key_size, uint32_t key_hash, const uint8_t *cache_value, size_t cache_value_size, copy_value_func copy_value)
 
void destroy (void *user_context, destroy_value_func destroy_value)
 

Public Attributes

CacheEntrynext
 
CacheEntrymore_recent
 
CacheEntryless_recent
 
uint8_tmetadata_storage
 
size_t key_size
 
uint8_tkey
 
uint32_t hash
 
uint32_t in_use_count
 
size_t value_size
 
uint8_tvalue
 

Detailed Description

Definition at line 41 of file hashmap.h.

Member Function Documentation

◆ init()

bool Halide::Runtime::Internal::CacheEntry::init ( void * user_context,
const uint8_t * cache_key,
size_t cache_key_size,
uint32_t key_hash,
const uint8_t * cache_value,
size_t cache_value_size,
copy_value_func copy_value )
inline

◆ destroy()

void Halide::Runtime::Internal::CacheEntry::destroy ( void * user_context,
destroy_value_func destroy_value )
inline

Member Data Documentation

◆ next

◆ more_recent

CacheEntry* Halide::Runtime::Internal::CacheEntry::more_recent

◆ less_recent

CacheEntry* Halide::Runtime::Internal::CacheEntry::less_recent

◆ metadata_storage

uint8_t* Halide::Runtime::Internal::CacheEntry::metadata_storage

Definition at line 45 of file hashmap.h.

Referenced by destroy(), and init().

◆ key_size

size_t Halide::Runtime::Internal::CacheEntry::key_size

Definition at line 46 of file hashmap.h.

Referenced by init(), and Halide::Runtime::Internal::HashMap::lookup().

◆ key

uint8_t* Halide::Runtime::Internal::CacheEntry::key

Definition at line 47 of file hashmap.h.

Referenced by init(), and Halide::Runtime::Internal::HashMap::lookup().

◆ hash

uint32_t Halide::Runtime::Internal::CacheEntry::hash

◆ in_use_count

uint32_t Halide::Runtime::Internal::CacheEntry::in_use_count

◆ value_size

size_t Halide::Runtime::Internal::CacheEntry::value_size

◆ value

uint8_t* Halide::Runtime::Internal::CacheEntry::value

Definition at line 53 of file hashmap.h.

Referenced by destroy(), init(), and Halide::Runtime::Internal::HashMap::lookup().


The documentation for this struct was generated from the following file: