mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-28 16:56:08 +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):
|
def test_custom_kernel_basic(self):
|
||||||
if mx.metal.is_available():
|
if mx.metal.is_available():
|
||||||
source = """
|
source = """
|
||||||
uint elem thread_position_in_grid.x;
|
uint elem = thread_position_in_grid.x;
|
||||||
out1[elem] = a[elem];
|
out1[elem] = a[elem];
|
||||||
"""
|
"""
|
||||||
custom_kernel = mx.fast.metal_kernel
|
custom_kernel = mx.fast.metal_kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user