mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
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.
31 lines
1.1 KiB
C
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
|