Skip to content

Commit 37f4d4f

Browse files
committed
address review comments
1 parent 6473984 commit 37f4d4f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

dpctl/_sycl_device.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,6 @@ cdef class SyclDevice(_SyclDevice):
17161716
print(
17171717
f"{len(sd)} sub-devices were created with respective "
17181718
f"#EUs being {[d.max_compute_units for d in sd]}"
1719-
)
17201719
)
17211720
except Exception:
17221721
print("Device partitioning by affinity was not successful.")

dpctl/_sycl_queue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ cdef class SyclQueue(_SyclQueue):
682682
if not isinstance(ctx, SyclContext):
683683
raise TypeError(
684684
"SyclQueue constructor with two positional arguments "
685-
f"expected SyclContext as its first argument, but got "
685+
"expected SyclContext as its first argument, but got "
686686
f"{type(ctx)}."
687687
)
688688
if not isinstance(dev, SyclDevice):

dpctl/memory/_memory.pyx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,7 @@ cdef class MemoryUSMShared(_Memory):
787787
"Zero-copy operation is not possible with "
788788
"copy=False. "
789789
"Either use copy=True, or use a constructor "
790-
f"appropriate for "
791-
f"type '{self.get_usm_type()}'"
790+
f"appropriate for type '{self.get_usm_type()}'"
792791
)
793792

794793
def __getbuffer__(self, Py_buffer *buffer, int flags):

0 commit comments

Comments
 (0)