Skip to content

SyclContext must have method to give list of devices #146

Closed
@oleksandr-pavlyk

Description

@oleksandr-pavlyk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions