Download src/host/cpu_dispatch.h from Snapkitty/alp-carry: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/Snapkitty/alp-carry/resolve/main/src/host/cpu_dispatch.h
- Command line
-
hf download hf://Snapkitty/alp-carry/src/host/cpu_dispatch.h
-
curl -L -o cpu_dispatch.h https://huggingface.co/Snapkitty/alp-carry/resolve/main/src/host/cpu_dispatch.h
371 Bytes
| /* alp-carry — carry-chain proof kernel | |
| * Copyright (C) 2026 Ahmad Ali Parr | |
| * SPDX-License-Identifier: AGPL-3.0-only | |
| * | |
| * One-time CPU feature detection, zero deps. | |
| * __builtin_cpu_supports: GCC/Clang instant path. | |
| * Fallback: raw CPUID leaf 7 (ebx bit 19 = ADX). */ | |
| int cpu_has_adx(void); | |