From f1093be456111a1e64fab082cc5cccdce9087bd8 Mon Sep 17 00:00:00 2001 From: Vijay Janapa Reddi Date: Sun, 20 Jul 2025 10:40:21 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Fix=20test=20function=20name=20m?= =?UTF-8?q?ismatches=20in=2013=5Fkernels=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed test_matmul_baseline() → test_unit_matmul_baseline() - Fixed test_vectorized_operations() → test_unit_vectorized_operations() - Fixed test_cache_friendly_matmul() → test_unit_cache_friendly_matmul() - Fixed test_parallel_processing() → test_unit_parallel_processing() - Fixed test_simple_kernel_timing() → test_unit_simple_kernel_timing() - Fixed test_compressed_kernels() → test_unit_compressed_kernels() Ensures correct function names are called to match their definitions. --- modules/source/13_kernels/kernels_dev.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/source/13_kernels/kernels_dev.py b/modules/source/13_kernels/kernels_dev.py index d9de4198..26ae965f 100644 --- a/modules/source/13_kernels/kernels_dev.py +++ b/modules/source/13_kernels/kernels_dev.py @@ -325,7 +325,7 @@ def test_unit_matmul_baseline(): print("📈 Progress: Baseline Matrix Multiplication ✓") # Run the test -test_matmul_baseline() +test_unit_matmul_baseline() # %% [markdown] """ @@ -530,7 +530,7 @@ def test_unit_vectorized_operations(): print("📈 Progress: Vectorized Operations ✓") # Run the test -test_vectorized_operations() +test_unit_vectorized_operations() # %% [markdown] """ @@ -703,7 +703,7 @@ def test_unit_cache_friendly_matmul(): print("📈 Progress: Cache-Friendly Algorithms ✓") # Run the test -test_cache_friendly_matmul() +test_unit_cache_friendly_matmul() # %% [markdown] """ @@ -928,7 +928,7 @@ def test_unit_parallel_processing(): print("📈 Progress: Parallel Processing ✓") # Run the test -test_parallel_processing() +test_unit_parallel_processing() # %% [markdown] """ @@ -1014,7 +1014,7 @@ def test_unit_simple_kernel_timing(): print("📈 Progress: Simple Kernel Timing ✓") # Run the test -test_simple_kernel_timing() +test_unit_simple_kernel_timing() # %% [markdown] """ @@ -1236,7 +1236,7 @@ def test_unit_compressed_kernels(): print("📈 Progress: Compressed Model Kernels ✓") # Run the test -test_compressed_kernels() +test_unit_compressed_kernels() # %% nbgrader={"grade": false, "grade_id": "final-performance-test", "locked": false, "schema_version": 3, "solution": false, "task": false} ### 🧪 Unit Test: Comprehensive Kernel Performance Comparison