18 Commits (d7c5c55208b3f65c5ebe621cb69585bfaf751d81)

Author SHA1 Message Date
Constantin Fürst d7c5c55208 turn library into single-header mode 11 months ago
Constantin Fürst 4fa5ef6522 accept existing cache if the cached block is larger than the requested view 12 months ago
Constantin Fürst 6ab88595b7 add test for the cache-flush logic which was previously not tested 12 months ago
Constantin Fürst 7dfbed68fe handle allocation slightly different, introduce a separate function for cleaner code that does on-node memory allocation, first querry the available size and do not rely on numa_alloc_onnode to report nullptr if the size is not really available 12 months ago
Constantin Fürst 4ddd96adcb remove extra whitespace from output in main function 12 months ago
Constantin Fürst e3e17cec7b extend the main method of the small supplied test program to allow running on multiple threads 12 months ago
Constantin Fürst e5b96727cd add missing inline specifier to functions as this is header-only code 12 months ago
Constantin Fürst 9c06bd4fa9 add class-definition comments and clear some double-newlines 12 months ago
Constantin Fürst 53e05d096c add even more comments and remove an old code line that modified the reference counter of cache data from the outside 12 months ago
Constantin Fürst 52566fc13b print to cerr for bad states in the test-main 12 months ago
Constantin Fürst 46de3151a2 add a lot of comments to the code, also handle errors in the dml handlers gracefully 12 months ago
Constantin Fürst c01eafedae refactor the cacher to reduce complexity, removes the access guarantees (relaxed,immediate,...), uses the fact that other tasks will wait on atomic value change for the cache-pointer if it is nullptr to add the entry to cache structure earlier reducing cost of two threads accessing new entry at the same time, splits the offloading-cache.hpp file into two with one containing the data-class (represents a cache entry and task) and the other containing the cacher itself 12 months ago
Constantin Fürst 395d307310 fix an issue with the freeing of data in the cacher 12 months ago
Constantin Fürst f19c069b0f always perform copy from src and dst node, add another log output about the split 12 months ago
Constantin Fürst 5e30a370ce finish first stage of caching implementation and provide a rudimentary test function in the main 12 months ago
Constantin Fürst d396056230 provide first draft of implementations for the cachers functionality 12 months ago
Constantin Fürst 623366433b continue modifying the declarations for the cacher and providing some first definitions 12 months ago
Constantin Fürst f91cd3202f add project 'offloading cacher' and function declarations for the cacher in its header file 12 months ago