From 8669d980c8de38b3c2184ae71d57d0cfe5bf9093 Mon Sep 17 00:00:00 2001 From: Philip Maybank Date: Tue, 9 Sep 2025 13:57:16 +0100 Subject: [PATCH] add print statement in CMake and use values instead of max / min / step in json input file --- tile_engine/ops/gemm/CMakeLists.txt | 7 +++++++ tile_engine/ops/gemm/configs/gfx120x_config.json | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tile_engine/ops/gemm/CMakeLists.txt b/tile_engine/ops/gemm/CMakeLists.txt index a486802343..77165ae0fa 100644 --- a/tile_engine/ops/gemm/CMakeLists.txt +++ b/tile_engine/ops/gemm/CMakeLists.txt @@ -158,6 +158,13 @@ function(build_individual_gemm_targets datatype layout) # Create working directory first file(MAKE_DIRECTORY ${working_path}) + message(STATUS "COMMAND: ${Python3_EXECUTABLE} -u ${CMAKE_CURRENT_LIST_DIR}/gemm_instance_builder.py + --working_path ${working_path} + --datatype ${datatype} + --layout ${layout} + --config_json ${json_blob} + --list_kernels") + # First, just list the kernels (fast operation) message(STATUS " Listing kernel configurations...") execute_process( diff --git a/tile_engine/ops/gemm/configs/gfx120x_config.json b/tile_engine/ops/gemm/configs/gfx120x_config.json index 8965063c69..900cc16d1d 100644 --- a/tile_engine/ops/gemm/configs/gfx120x_config.json +++ b/tile_engine/ops/gemm/configs/gfx120x_config.json @@ -3,9 +3,10 @@ }, "tile_config": { "tile_m": { - "max": 256, - "min": 64, - "step": 64 + "values": [ + 256, + 128 + ] }, "tile_n": { "max": 256,