Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-Oct-2021 | - | ||||
Makefile | H A D | 13-Oct-2021 | 3.9 KiB | 113 | 92 | |
README.md | H A D | 13-Oct-2021 | 481 | 5 | 2 | |
scratch.c | H A D | 13-Oct-2021 | 6.5 KiB | 186 | 153 | |
scratch.sh | H A D | 03-May-2022 | 2.5 KiB | 69 | 50 | |
scratch.vcxproj | H A D | 13-Oct-2021 | 22.5 KiB | 397 | 397 |
README.md
1# Scratch Memory Allocation (Microbenchmark) 2 3This code sample aims to benchmark the performance of the scratch memory allocation. This facility is a viable option to satisfy the need for temporary memory when using the DNN domain of LIBXSMM (small convolutions). Although any kind of readable/writable buffer can be bound to a convolution handle, LIBXSMM's `libxsmm_aligned_scratch` features a thread-safe linear allocator mechanism which can help to lower allocation overhead. 4 5