Files
Strata/engine/third_party/zstd-dec/common/debug.c
T
Niko1221 e593fc2a68 hy4flash metal: engine reads Section 0 itself (vendored decompress-only zstd), kernel sources embedded in the binary
engine/third_party/zstd-dec: zstd 1.5.6 decompress-only sources (BSD, common + decompress, no asm, no compress / threading), built by build_mac.sh; the Mac runner now links the original
strata_reader.cpp, so no <file>.manifest.json sidecar is needed (tokenizer export byte-identical with and without the sidecar).
embed_metal.py + HY4_EMBED_KERNELS: the 13 MSL sources are compiled into the binary as byte arrays and written once to <TMPDIR>/strata-hy4-kernels-<hash>/ at start (--kernels and
STRATA_HY4_KERNELS still override). A metallib cannot be built on this Mac (no offline metal compiler in the Command Line Tools), so the run-time compile of the embedded sources stays.
Also: GPU / engram time per plain and verify step in the spec report.
2026-11-20 01:23:15 +01:00

31 lines
1.1 KiB
C

/* ******************************************************************
* debug
* Part of FSE library
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* You can contact the author at :
* - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
* You may select, at your option, one of the above-listed licenses.
****************************************************************** */
/*
* This module only hosts one global variable
* which can be used to dynamically influence the verbosity of traces,
* such as DEBUGLOG and RAWLOG
*/
#include "debug.h"
#if !defined(ZSTD_LINUX_KERNEL) || (DEBUGLEVEL>=2)
/* We only use this when DEBUGLEVEL>=2, but we get -Werror=pedantic errors if a
* translation unit is empty. So remove this from Linux kernel builds, but
* otherwise just leave it in.
*/
int g_debuglevel = DEBUGLEVEL;
#endif