mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-27 08:46:41 +08:00
Typo in test
This commit is contained in:
parent
fa555c536a
commit
432c02dabc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user