File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff 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.")
Original file line number Diff line number Diff 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):
Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments