mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-11 01:27:34 +00:00
Partial Progress : Working till Listing kernels
This commit is contained in:
@@ -44,7 +44,7 @@ class GemmKernelBuilder:
|
||||
with open(config_json, "r") as f:
|
||||
self.config = json.load(f)
|
||||
|
||||
def write_kernel_list(self, kernel_name_prefix):
|
||||
def list_kernels(self, kernel_name_prefix):
|
||||
"""Write kernel list to file for CMake to read (with comprehensive validation)"""
|
||||
# Get configurations using comprehensive validation
|
||||
tile_configs = self._get_tile_configs(kernel_name_prefix)
|
||||
|
||||
@@ -96,8 +96,7 @@ def main():
|
||||
)
|
||||
|
||||
if args.list_kernels:
|
||||
builder.write_kernel_list("gemm_universal") # Rename this method name
|
||||
# pass
|
||||
builder.list_kernels("gemm_universal")
|
||||
elif args.gen_single:
|
||||
# # Generate a single kernel file
|
||||
# if not args.kernel_name or not args.tile_config or not args.trait_combo:
|
||||
|
||||
Reference in New Issue
Block a user