CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
Simple cache for object. object class should have a weight method. More...
#include <Containers.h>
Public Member Functions | |
SimpleCache (size_t _maxWeight) | |
constructor | |
V * | use (const K &key) |
use key - get value | |
bool | hasKey (const K &key) |
return true if key exists | |
void | put (const K &key, const V &value) |
put value | |
Simple cache for object. object class should have a weight method.
Simple cache