dpctl.SyclContext¶
-
class
dpctl.
SyclContext
¶ Python wrapper class for cl::sycl::context.
-
addressof_ref
()¶ Returns the address of the DPCTLSyclContextRef pointer as a size_t.
- Returns
The address of the DPCTLSyclContextRef object used to create this SyclContext cast to a size_t.
-
device_count
¶ The number of sycl devices associated with SyclContext instance.
-
equals
()¶ Returns true if the SyclContext argument has the same _context_ref as this SyclContext.
-
get_devices
()¶ Returns the list of SyclDevice objects associated with SyclContext instance.
-