Skip to content

Commit 23373aa

Browse files
fixes for gpu
1 parent 84ba92c commit 23373aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_common_atomicadd(test_context):
5454
result = np.array([0], dtype=np.float64)
5555
result_ctx = test_context.nparray_to_context_array(result)
5656
test_context.kernels.test_atomic_add(out=result_ctx)
57-
result = test_context.nparray_form_context_array(result_ctx)[0]
57+
result = test_context.nparray_from_context_array(result_ctx)[0]
5858

5959
assert result == expected
6060

0 commit comments

Comments
 (0)