Skip to content

Commit 82bf624

Browse files
committed
typos
1 parent 74f6d9f commit 82bf624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_core/tests/test_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_device_alloc(deinit_cuda):
5050
device.sync()
5151
assert buffer.handle != 0
5252
assert buffer.size == 1024
53-
assert buffer.device_id == cuda.cudaGetDevice()
53+
assert buffer.device_id == handle_return(runtime.cudaGetDevice())
5454

5555

5656
def test_device_create_stream(init_cuda):

0 commit comments

Comments
 (0)