Skip to content

Library Logic

amdkila edited this page Jun 15, 2020 · 2 revisions

Running the LibraryLogic phase of benchmarking analyses the benchmark data and encodes a mapping for each problem type. For each problem type, it maps problem sizes to best solution (i.e. kernel). It is not uncommon for multiple problem sizes to share the same solution, but every kernel must map to at least 1 problem size.

Library Logic files can be used to create a Tensile library for the set of problems. The "3_Library_Logic" directory can be used as a secondary argument when running TensileCreateLibrary as seen below:

./Tensile/bin/TensileCreateLibrary path/to/3_LibraryLogic HIP

Clone this wiki locally