add print statement in CMake and use values instead of max / min / step in json input file

This commit is contained in:
Philip Maybank
2025-09-09 13:57:16 +01:00
parent 155f15e576
commit 8669d980c8
2 changed files with 11 additions and 3 deletions

View File

@@ -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(

View File

@@ -3,9 +3,10 @@
},
"tile_config": {
"tile_m": {
"max": 256,
"min": 64,
"step": 64
"values": [
256,
128
]
},
"tile_n": {
"max": 256,