Skip to content

SyclContext must have method to give list of devices #146

Closed

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.

Activity

  1. added this to the MS141 milestone on Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions