ctx.get_sycl_devices() should give a list of SyclDevice objects associated with this context.
This is Python equivalent to cl::sycl::context::get_devices(). See table 4.14 in the provisional 2020 standard, here is an excerpt:
std::vector<device> get_devices() const |
Returns a std::vector containing all SYCLdevices that are associated with this SYCLcontext. The value returned must beequal to that returned by get_infoinfo::context::devices(). |
Moreover, there should be a way to query the Queue Manager for a queue that would be consistent with the given context.
ctx.get_sycl_devices()should give a list of SyclDevice objects associated with this context.This is Python equivalent to
cl::sycl::context::get_devices(). See table 4.14 in the provisional 2020 standard, here is an excerpt:std::vector<device> get_devices() constMoreover, there should be a way to query the Queue Manager for a queue that would be consistent with the given context.