MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / ThreadData

Class ThreadData

src/test.cpp:252–255  ·  view source on GitHub ↗

64 is the typical cache line size

Source from the content-addressed store, hash-verified

250
251// 64 is the typical cache line size
252struct alignas(64) ThreadData {
253 volatile uint32_t sink;
254 char padding[60]; // Ensures 64-byte alignment/padding
255};
256
257void mem_bench2_thread(uint32_t* data, size_t start_idx, size_t elements_per_thread, ThreadData* thread_sink) {
258 for (size_t i = start_idx; i < start_idx + elements_per_thread; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected