We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fde78c commit 83d4e32Copy full SHA for 83d4e32
1 file changed
dpctl/_sycl_context.pyx
@@ -153,7 +153,7 @@ cdef class SyclContext(_SyclContext):
153
sub_devices = cpu_d.create_sub_devices(partition=2)
154
# Create a context common to all the sub-devices.
155
ctx = dpctl.SyclContext(sub_devices)
156
- assert(len(ctx.get_devices) == len(sub_devices))
+ assert(len(ctx.get_devices()) == len(sub_devices))
157
158
- Invoking the constructor with a named ``PyCapsule`` with name
159
**"SyclContextRef"** that carries a pointer to a ``sycl::context``
0 commit comments