Debian Codegraph @

tensilelite/Tensile/CustomKernels/README.md

raw symbols SCIP
1 <!--
2 Copyright (C) 2025 Advanced Micro Devices, Inc.
3 SPDX-License-Identifier: MIT
4 -->
5
6 # Custom kernel validation
7
8 In the context of TensileCreateLibrary, Custom kernel meta data is taken from the logic
9 file where the custom kernel is referenced. The metadata from the logic file can be
10 overwritten by specifying the parameters of interest in the `custom.config` section of
11 the kernel assembly file. The majority of the override parameters are validated at build
12 time when building a custom kernel with exception of the nine element MatrixInstruction.
13 While this validation is no longer applied during the build process it can be applied by
14 using the **TensileLogic** script as follows:
15
16 ```
17 Tensile/bin/TensileLogic --check-only-custom-kernels <path to logic file>
18 ```
19
20 where `<path to logic file>` is a path to a logic file containing a solution where
21 `CustomKernelName` references the custom kernel requiring validation.