AI Slop Code Risk Monitor

uxlfoundation/oneDNN

SlopCodeMonitor badge for uxlfoundation/oneDNN Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Open-source library of optimized deep learning operations (matmul, convolution, attention) for CPUs (x64, AArch64, RISC-V) and Intel GPUs. Used by PyTorch, TensorFlow, OpenVINO, and ONNX Runtime.

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for uxlfoundation/oneDNN, a C++ project with 4,082 GitHub stars. SynthScan examined 1,725,994 lines of code across 4354 source files, recording 4167 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 2.3 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.1K
Stars
C++
Language
1.7M
Lines of Code
4.4K
Files
4.2K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 3991 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 1.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 189 finding(s).

PR Review Velocity Impact 12.5/100 · LOW

Which changes need focused human review? 4167 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 5MEDIUM 205LOW 3957

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4167 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block3831 hits · 3108 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#===============================================================================COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp21COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp101/// @addtogroup dnnl_api_cpp_primitives PrimitivesCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp161 primitive() = default;COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp181 ///COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp201 /// @note The cache blob can be empty. It's the user's responsibility toCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp261COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp281 /// scratchpad is common to all primitives to reduce the memory footprint.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp301///COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp321inline dnnl_rounding_mode_t convert_to_c(rounding_mode mode) {COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp341 /// static quantization mode with scale applied before zero-point:COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp361 forward_training = dnnl_forward_training,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp461 lrn_within_channel = dnnl_lrn_within_channel,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp541/// @param aalgorithm C++ API algorithm kind enum value.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp561 /// the same behavior as #dnnl::prop_kind::backward.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp581 use_shift = dnnl_use_shift,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp601 /// On backward propagation, the result of the backward ReLU operationCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp661 bidirectional_sum = dnnl_bidirectional_sum,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp821COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp841/// The latter approach requires understanding how the physical dataCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp861/// when used, can be queried using #dnnl::sycl_interop::get_buffer and setCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp881/// library because there is no clear definition of what the output valuesCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp921 /// @deprecated The f4_e3m0 data type will be removed in a future release.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp981 opaque = dnnl_format_kind_opaque,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1001 grouped = dnnl_grouped,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1021 /// - Domain-specific names, i.e. names that make sense only in theCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1041 /// - @c 'd', @c 'h', and @c 'w' denote spatial depth, height, and widthCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1221 hwigo = decab,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1241 ldnc = abcd,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp1261 ldio = abcd,COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp2881 reset(zero_md);COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp2941 }COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp2981 /// contains n+1 buffers for an n-dimensional tensor.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3021 /// is created using the queried memory descriptor are unspecifiedCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3041 "could not create a memory descriptor for packed "COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3061 /// - Variable dimension: 0 (token count varies per expert)COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3121 /// Construct a memory descriptor from a binary blob.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3161 /// The operation ensures that the transformation of the physical memoryCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3181 /// their logical counterparts. This also assumes that theseCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3201 dnnl_memory_desc_t out_md = nullptr;COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3221 /// #dnnl::memory::format_kind::any.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3281 memory::dim get_submemory_offset() const {COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3301 /// @noteCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3321 }COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3481 /// will be initialized as if #dnnl::memory::set_data_handle() had beenCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3501 /// Unless @p handle is equal to #DNNL_MEMORY_NONE, the constructed memoryCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3541COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3661 ///COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3681 template <typename T = void>COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3741COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3801 /// The kind of this post-op is #dnnl::primitive::kind::sum.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3861 /// @param zero_point Single scalar int32_t value of zeropoint.COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3901 "could not get parameters of an elementwise post-op");COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp3981 /// dst[:] <- binary_op (dst[:], another_input[:])COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4001 /// dst[:] <- binary_op (dst[:], another_input1[:], another_input2[:])COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4061 error::wrap_c_api(dnnl_memory_desc_clone(&cloned_md2, cdesc2),COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4081 /// oh = 14, ow = 14; // convolution output paramsCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4101 /// @noteCOMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4341 get(), dnnl::convert_to_c(mode)),COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4361 }COMMENT
3771 more matches not shown…
Decorative Section Separators169 hits · 514 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt1#===============================================================================COMMENT
MEDIUMCMakeLists.txt16#===============================================================================COMMENT
MEDIUMtests/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/generate_c_symbols_refs.sh2#===============================================================================COMMENT
MEDIUMtests/generate_c_symbols_refs.sh16#===============================================================================COMMENT
MEDIUMtests/benchdnn/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/benchdnn/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/other/subproject/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/other/subproject/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/noexcept/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/noexcept/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/ze/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/ze/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/ze/api/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/ze/api/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/CMakeLists.txt16#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/interface/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/interface/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/interface/sycl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/interface/sycl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/utils/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/utils/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/dnnl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/dnnl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/fake/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/unit/backend/fake/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/sycl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/sycl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/ocl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/graph/api/ocl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/internals/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/internals/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/sycl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/sycl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/sycl/api/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/sycl/api/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/api/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/api/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/regression/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/regression/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/ocl/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/ocl/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMtests/gtests/ocl/api/CMakeLists.txt1#===============================================================================COMMENT
MEDIUMtests/gtests/ocl/api/CMakeLists.txt15#===============================================================================COMMENT
MEDIUMthird_party/kleidiai/experimental/ops/CMakeLists.txt7# -------------------------------------------------------------------------------------------------COMMENT
MEDIUMthird_party/kleidiai/experimental/ops/CMakeLists.txt27# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡third_party/kleidiai/experimental/ops/CMakeLists.txt75# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡third_party/kleidiai/experimental/ops/CMakeLists.txt80# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡third_party/kleidiai/experimental/ops/CMakeLists.txt84# -------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡third_party/kleidiai/experimental/ops/CMakeLists.txt90# -------------------------------------------------------------------------------------------------COMMENT
109 more matches not shown…
AI Slop Vocabulary34 hits · 102 pts
SeverityFileLineSnippetContext
MEDIUMtests/benchdnn/dnnl_common.hpp300// All these memories must utilize `prefill_memory` flag of `dnn_mem_t` ctorCOMMENT
MEDIUMtests/benchdnn/dnnl_common.cpp81 // Service primitive is not supposed to utilize further logic.COMMENT
MEDIUMtests/benchdnn/dnnl_common.cpp2142 // Rationale: make sure that the primitive cache is robust in the caseCOMMENT
MEDIUMtests/benchdnn/eltwise/eltwise.cpp485 // Unique scenario when driver can utilize inplace but original source isCOMMENT
MEDIUMtests/benchdnn/utils/res.hpp92 // for a prim_ref (--fast-ref) test object which can utilize blockedCOMMENT
MEDIUMtests/benchdnn/utils/compare.hpp119 // they may be relevant in specific cases. This is a hint to utilizeCOMMENT
MEDIUMtests/benchdnn/matmul/matmul.cpp607 // sparse problems. `CSR`/`COO` will utilize their `fill_sparse_data`COMMENT
MEDIUMtests/benchdnn/rnn/rnn.hpp88 // We need a more robust way of testing RNN.COMMENT
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7722 ZE_CACHE_EXT_REGION_ZE_CACHE_REGION_DEFAULT = 0, ///< [DEPRECATED] utilize driver default schCODE
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7724 ZE_CACHE_EXT_REGION_ZE_CACHE_RESERVE_REGION = 1, ///< [DEPRECATED] utilize reserved region. UCODE
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7726 ZE_CACHE_EXT_REGION_ZE_CACHE_NON_RESERVED_REGION = 2, ///< [DEPRECATED] utilize non-reserverd regiCODE
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7728 ZE_CACHE_EXT_REGION_DEFAULT = 0, ///< utilize driver default schemeCODE
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7729 ZE_CACHE_EXT_REGION_RESERVED = 1, ///< utilize reserved regionCODE
MEDIUM⚡third_party/level_zero/level_zero/ze_api.h7730 ZE_CACHE_EXT_REGION_NON_RESERVED = 2, ///< utilize non-reserverd regionCODE
MEDIUMthird_party/spdlog/spdlog/fmt/bundled/format.h3207 // Compilers are not aware of how to leverage the maximum value ofCOMMENT
MEDIUMthird_party/gtest/include/gtest/gtest-death-test.h151// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUMthird_party/gtest/include/gtest/gtest-death-test.h222// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMexamples/graph/sdpa_dynamic_quantized.cpp277 // leverage the tensor API to allocate the scratchpad buffer forCOMMENT
MEDIUMexamples/graph/gqa.cpp196 // leverage the tensor API to allocate the scratchpad buffer forCOMMENT
MEDIUMsrc/gpu/intel/reorder/custom.cpp387 // access mem using large enough chunks to utilize whole cache lines.COMMENT
MEDIUM…pu/intel/gemm/jit/generator/pieces/register_layout.cpp237 // A64 Essentially max 256 bytes.COMMENT
MEDIUMsrc/gpu/intel/softmax/reusable.hpp177 // utilize largest supported subgroup sizeCOMMENT
MEDIUMsrc/cpu/x64/jit_avx512_common_1x1_convolution.hpp188 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUMsrc/cpu/x64/jit_avx512_core_amx_1x1_conv_kernel.cpp1211 // case if we utilize half of tile or less.COMMENT
MEDIUMsrc/cpu/x64/jit_avx2_1x1_convolution.hpp195 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUM…c/cpu/x64/jit_avx512_core_x8s8s32x_1x1_convolution.hpp201 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUMsrc/cpu/x64/jit_avx512_core_bf16_1x1_convolution.hpp220 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUMsrc/cpu/x64/jit_uni_x8s8s32x_1x1_convolution.hpp243 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUMsrc/cpu/x64/injectors/injector_utils.hpp135 // This constructor is used to utilize extended registers (e.g. r16-r31).COMMENT
MEDIUMsrc/cpu/x64/brgemm/brgemm_types.hpp770 // TODO: extend usage to primitives (each of them utilize their own copyCOMMENT
MEDIUMsrc/cpu/x64/matmul/brgemm_matmul_utils.cpp1170// - M-parallelism is too low to fully utilize the cores.COMMENT
MEDIUMsrc/cpu/aarch64/jit_sve_1x1_convolution.hpp236 // Note: A robust fusion implementation would be to check if bothCOMMENT
MEDIUMsrc/cpu/aarch64/rnn/rnn_brgemm_utils.cpp226 // inherited 32 degrades badly at 32). 40 is the most robust single value acrossCOMMENT
MEDIUMsrc/xpu/sycl/types.hpp128// would utilize it.COMMENT
Verbosity Indicators34 hits · 61 pts
SeverityFileLineSnippetContext
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp240 // Step 1: score = Q x K (matmul primitive).COMMENT
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp244 // Step 2: Scale.COMMENT
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp247 // Step 3: Apply attention mask (buffer or causal).COMMENT
LOWtests/benchdnn/sdpa/ref_sdpa.cpp288 // Step 4: Softmax over K dimension (axis = 2 of the 3-D score tensor).COMMENT
LOWtests/benchdnn/sdpa/ref_sdpa.cpp306 // Step 5: output = prob_dp x V (matmul primitive).COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1260 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1315 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1347 // Step 3: Find the significand with the smaller divisor.COMMENT
LOW⚡examples/matmul_f8_quantization.cpp257 // Step 1: Compute scaling factors for quantizationCOMMENT
LOW⚡examples/matmul_f8_quantization.cpp266 // Step 2: Quantize f32 to f8 format with scalingCOMMENT
LOWexamples/matmul_f8_quantization.cpp340 // Step 3: Matrix multiplication with f8COMMENT
LOWexamples/matmul_f8_quantization.cpp383 // Step 4: Validate resultsCOMMENT
LOWsrc/gpu/intel/reduction/utils.cpp191 // Step 7: Potentially add dst-zero-padding if needed for the final reduction dimensions.COMMENT
LOWsrc/cpu/platform.cpp324// The purpose of this function is to return the potential maximum number ofCOMMENT
LOWsrc/cpu/platform.cpp379/* The purpose of this function is to provide a very efficient timestampCOMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp54 // Step 1: temp = G * filter (4x3)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp66 // Step 2: result = temp * G^T, store directly to GEMM layoutCOMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp655 // Step 1: Input transform via JIT kernel (tile loop is inside JIT)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp666 // Step 2: GEMM using brgemm kernel (16 elements)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp677 // Step 3: Output transform via JIT kernel (tile loop is inside JIT)COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp593 // Step 1: compute operation-level liveness.COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp599 // Step 2: build a single live interval per virtual register.COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp638 // Step 3: weight each virtual register by how often it is referenced andCOMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp643 // Step 4: run linear-scan register allocation per physical register file,COMMENT
LOWsrc/cpu/x64/brgemm/brgemm_utils.hpp61/* The purpose of this function is to enable initialization of brgemm valuesCOMMENT
LOWsrc/cpu/x64/brgemm/brgemm_utils.hpp72/* The purpose of this function is to enable initialization of brgemm valuesCOMMENT
LOWsrc/cpu/aarch64/brgemm/brgemm_utils.hpp119/* The purpose of this function is to enable initialization of brgemm valuesCOMMENT
LOWsrc/cpu/aarch64/brgemm/brgemm_utils.hpp130/* The purpose of this function is to enable initialization of brgemm valuesCOMMENT
LOWsrc/graph/backend/dnnl/layout_propagator.cpp1260 // if the output layout is specified, we need to check if it's matchedCOMMENT
LOWsrc/common/dnnl_thread.hpp144/* The purpose of this function is to provide the number of threads the libraryCOMMENT
LOW⚡src/common/primitive_desc_iface.cpp108 // Step 1: create impl::primitive_t or get it from primitive cacheCOMMENT
LOW⚡src/common/primitive_desc_iface.cpp116 // Step 2: create primitive_iface_t, init and return it to userCOMMENT
LOW⚡src/common/reorder_primitive_desc_iface.hpp68 // Step 1: create impl::primitive_t or get it from primitive cacheCOMMENT
LOW⚡src/common/reorder_primitive_desc_iface.hpp76 // Step 2: create primitive_iface_t, init and return it to userCOMMENT
Structural Annotation Overuse30 hits · 58 pts
SeverityFileLineSnippetContext
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp240 // Step 1: score = Q x K (matmul primitive).COMMENT
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp244 // Step 2: Scale.COMMENT
LOW⚡tests/benchdnn/sdpa/ref_sdpa.cpp247 // Step 3: Apply attention mask (buffer or causal).COMMENT
LOWtests/benchdnn/sdpa/ref_sdpa.cpp288 // Step 4: Softmax over K dimension (axis = 2 of the 3-D score tensor).COMMENT
LOWtests/benchdnn/sdpa/ref_sdpa.cpp306 // Step 5: output = prob_dp x V (matmul primitive).COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1260 // Step 1: integer promotion & Schubfach multiplier calculation.COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1315 // Step 2: Try larger divisor; remove trailing zeros if necessary.COMMENT
LOWthird_party/spdlog/spdlog/fmt/bundled/format-inl.h1347 // Step 3: Find the significand with the smaller divisor.COMMENT
LOW⚡examples/matmul_f8_quantization.cpp257 // Step 1: Compute scaling factors for quantizationCOMMENT
LOW⚡examples/matmul_f8_quantization.cpp266 // Step 2: Quantize f32 to f8 format with scalingCOMMENT
LOWexamples/matmul_f8_quantization.cpp340 // Step 3: Matrix multiplication with f8COMMENT
LOWexamples/matmul_f8_quantization.cpp383 // Step 4: Validate resultsCOMMENT
LOW⚡doc/graph_api/scratchpad.md33// Step 1: Query scratchpad requirementsCOMMENT
LOW⚡doc/graph_api/scratchpad.md36// Step 2: Check if scratchpad is neededCOMMENT
LOW⚡doc/graph_api/scratchpad.md39 // Step 3: Allocate scratchpad tensorCOMMENT
LOW⚡doc/graph_api/scratchpad.md44// Step 4: Execute with user-managed scratchpadCOMMENT
LOWsrc/gpu/intel/reduction/utils.cpp191 // Step 7: Potentially add dst-zero-padding if needed for the final reduction dimensions.COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp54 // Step 1: temp = G * filter (4x3)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp66 // Step 2: result = temp * G^T, store directly to GEMM layoutCOMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp655 // Step 1: Input transform via JIT kernel (tile loop is inside JIT)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp666 // Step 2: GEMM using brgemm kernel (16 elements)COMMENT
LOWsrc/cpu/rv64/rvv_winograd_convolution.cpp677 // Step 3: Output transform via JIT kernel (tile loop is inside JIT)COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp593 // Step 1: compute operation-level liveness.COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp599 // Step 2: build a single live interval per virtual register.COMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp638 // Step 3: weight each virtual register by how often it is referenced andCOMMENT
LOW⚡src/cpu/x64/ir/reg_alloc.cpp643 // Step 4: run linear-scan register allocation per physical register file,COMMENT
LOW⚡src/common/primitive_desc_iface.cpp108 // Step 1: create impl::primitive_t or get it from primitive cacheCOMMENT
LOW⚡src/common/primitive_desc_iface.cpp116 // Step 2: create primitive_iface_t, init and return it to userCOMMENT
LOW⚡src/common/reorder_primitive_desc_iface.hpp68 // Step 1: create impl::primitive_t or get it from primitive cacheCOMMENT
LOW⚡src/common/reorder_primitive_desc_iface.hpp76 // Step 2: create primitive_iface_t, init and return it to userCOMMENT
TODO Padding21 hits · 36 pts
SeverityFileLineSnippetContext
LOWsrc/gpu/intel/bnorm/nhwc.cpp240 // TODO: implement it, possible perf boost could be ~ 2xCOMMENT
LOWsrc/gpu/intel/bnorm/nhwc_reusable.cpp149 // TODO: implement it, possible perf boost could be ~ 2xCOMMENT
LOWsrc/gpu/intel/bnorm/xe.cpp180 // TODO: implement it, possible perf boost could be ~ 2xCOMMENT
LOWsrc/gpu/intel/gemm/jit/dsl/dsl.cpp1016 // TODO: Add validation for compatibility between dst/src0/src1.COMMENT
LOWsrc/gpu/intel/rnn/grid.cpp694 // TODO: implement something like check layout consistencyCOMMENT
LOWsrc/gpu/intel/rnn/grid.cpp1650 // TODO: implement without copiesCOMMENT
LOWsrc/cpu/x64/jit_avx512_core_amx_convolution.cpp196 // TODO: implement 2D parallelization driver (g * spatial x oc) to increaseCOMMENT
LOWsrc/cpu/x64/jit_avx512_core_amx_convolution.cpp582 // TODO: implement 2D parallelization driver (g * spatial x oc) to increaseCOMMENT
LOWsrc/cpu/x64/jit_avx512_common_conv_kernel.cpp1171 // TODO: implement a task-based alternative without throttling.COMMENT
LOWsrc/cpu/x64/gemm_bf16_convolution.cpp220 // TODO: implement store by zmm registers for bf16COMMENT
LOWsrc/cpu/x64/jit_avx512_common_convolution.cpp99// TODO: implement it for BWD_D and BWD_W tooCOMMENT
LOWsrc/cpu/aarch64/jit_sve_conv_kernel.cpp1105 // TODO: implement a task-based alternative without throttling.COMMENT
LOWsrc/cpu/aarch64/jit_sve_convolution.cpp101// TODO: implement it for BWD_D and BWD_W tooCOMMENT
LOWsrc/cpu/aarch64/brgemm/brgemm.cpp463 // TODO: implement functionality here similar to corresponding one in x64COMMENT
LOWsrc/cpu/aarch64/matmul/kai_matmul.cpp221 // TODO: implement zero_pointsCOMMENT
LOW⚡src/common/float8.cpp413 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
LOW⚡src/common/float8.cpp422 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
LOW⚡src/common/float8.cpp431 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
LOW⚡src/common/float8.cpp440 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
LOW⚡src/common/float8.cpp450 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
LOW⚡src/common/float8.cpp460 // TODO: implement and use jit conversion kernel for DNNL_X64COMMENT
Deep Nesting17 hits · 17 pts
SeverityFileLineSnippetContext
LOWscripts/fix_header_guards.py191CODE
LOWscripts/fix_header_guards.py320CODE
LOWscripts/verbose_converter/verbose_converter.py51CODE
LOWscripts/verbose_converter/verbose_converter.py98CODE
LOWscripts/verbose_converter/tests/benchdnn_test.py51CODE
LOWscripts/verbose_converter/src/benchdnn_generator.py156CODE
LOWscripts/verbose_converter/src/benchdnn_generator.py845CODE
LOWscripts/verbose_converter/src/benchdnn_generator.py881CODE
LOWscripts/verbose_converter/src/ir.py44CODE
LOWscripts/verbose_converter/src/parse.py220CODE
LOWscripts/verbose_converter/src/parse.py263CODE
LOWscripts/verbose_converter/src/parse.py297CODE
LOWscripts/verbose_converter/src/parse.py451CODE
LOWscripts/verbose_converter/src/parse.py703CODE
LOWscripts/synthdnn/matmul/primitive.py261CODE
LOWscripts/synthdnn/matmul/primitive.py281CODE
LOW.github/automation/commit-msg-check.py56CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/verbose_converter/tests/benchdnn_test.py83except ValueError:CODE
HIGHscripts/verbose_converter/src/parse.py693except ValueError:CODE
HIGHscripts/verbose_converter/src/parse.py686except ValueError:CODE
Hyper-Verbose Identifiers14 hits · 14 pts
SeverityFileLineSnippetContext
LOWscripts/verbose_converter/src/parse.py511 def parse_precomputed_reductions(self, prs: str):CODE
LOWscripts/verbose_converter/src/parse.py516 def parse_precomputed_reduction(self, spec) -> ir.PrecomputedReduction:CODE
LOWdoc/doxyrest/frame/common/doc.lua511function getDocBlockListContentsImpl(blockList, context)CODE
LOWdoc/doxyrest/frame/common/doc.lua566function getSimpleDocBlockListContents(blockList)CODE
LOWdoc/doxyrest/frame/common/string.lua101function replaceRolesWithPlainText(source)CODE
LOWdoc/doxyrest/frame/common/item.lua124function getItemInternalDocumentation(item)CODE
LOWdoc/doxyrest/frame/common/item.lua137function getItemBriefDocumentation(item)CODE
LOWdoc/doxyrest/frame/common/item.lua160function getItemDetailedDocumentation(item)CODE
LOWdoc/doxyrest/frame/common/item.lua194function prepareItemArrayDocumentation(itemArray, compound)CODE
LOWdoc/doxyrest/frame/cfamily/utils.lua371function getFunctionModifierDelimiter(indent)CODE
LOWdoc/doxyrest/frame/cfamily/utils.lua396function getFunctionDeclStringImpl(item, returnType, nameTemplate, indent)CODE
LOWdoc/doxyrest/frame/cfamily/utils.lua461function getVoidFunctionDeclString(func, nameTemplate, indent)CODE
LOWdoc/doxyrest/frame/cfamily/utils.lua678function isItemExcludedByProtectionFilter(item)CODE
LOWdoc/doxyrest/frame/cfamily/utils.lua698function isItemExcludedByLocationFilter(item)CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWinclude/oneapi/dnnl/dnnl.hpp4078 /// Example usage:COMMENT
LOWinclude/oneapi/dnnl/dnnl.hpp4559 /// Example usage:COMMENT
LOWinclude/oneapi/dnnl/dnnl.h2882/// Example usage:COMMENT
LOWthird_party/spdlog/spdlog/mdc.h19// Usage example:COMMENT
LOWsrc/graph/utils/pm/pbuilder.hpp249// Example usage:COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/benchdnn/utils/cold_cache.cpp306 // as requested.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHexamples/performance_profiling.cpp335 /// In this implementation, there is an additional reorder operation thatCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/matmul_f8_quantization.cpp60/// @note This is a simplified decoder for demonstration purposesCOMMENT
MEDIUMexamples/matmul_f8_quantization.cpp90/// @note This is a simplified decoder for demonstration purposesCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/verbose_converter/tests/benchdnn_test.py156 except Exception as e:CODE
LOWscripts/verbose_converter/tests/benchdnn_test.py331 except Exception as e:STRING
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/verbose_converter/src/benchdnn_generator.py194 # Set policy to "host_scalar" if is_host_scalar is TrueCOMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/generate_dnnl_debug.py18CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/verbose_converter/src/parse.py32__all__ = ["Parser"]CODE