Skip to content

Commit 9929463

Browse files
Fix typos in comments
1 parent 1b0c979 commit 9929463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/tensor/_dlpack.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,10 +1122,10 @@ def from_dlpack(x, /, *, device=None, copy=None):
11221122
raise BufferError(f"Can not import to requested device {dl_device}")
11231123
dev = _create_device(device, dl_device)
11241124
if x_dldev == cpu_dev and dl_device == cpu_dev:
1125-
# both source and destion are CPU
1125+
# both source and destination are CPU
11261126
return blob
11271127
elif x_dldev == cpu_dev:
1128-
# source is CPU, destingation is oneAPI
1128+
# source is CPU, destination is oneAPI
11291129
return _to_usm_ary_from_host_blob(blob, dev)
11301130
elif dl_device == cpu_dev:
11311131
# source is oneAPI, destination is CPU

0 commit comments

Comments
 (0)