mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Typo in test
This commit is contained in:
@@ -585,7 +585,7 @@ class TestFast(mlx_tests.MLXTestCase):
|
||||
def test_custom_kernel_basic(self):
|
||||
if mx.metal.is_available():
|
||||
source = """
|
||||
uint elem thread_position_in_grid.x;
|
||||
uint elem = thread_position_in_grid.x;
|
||||
out1[elem] = a[elem];
|
||||
"""
|
||||
custom_kernel = mx.fast.metal_kernel
|
||||
|
||||
Reference in New Issue
Block a user