Skip to content

Instantly share code, notes, and snippets.

View skmp's full-sized avatar

Stefanos Kornilios Mitsis Poiitidis skmp

View GitHub Profile
// ./a.out | aplay -r 256000 ?
#include <stdio.h>
#include <stdint.h>
#include <x86intrin.h>
#include <atomic>
#include <unistd.h>
#include <math.h>
std::atomic<uint8_t> caches[128 * 512 * 64];