Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/platform interface #336

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

diptorupd
Copy link
Contributor

No description provided.

@diptorupd diptorupd force-pushed the feature/platform_interface branch 3 times, most recently from a6d3c98 to 16e703d Compare March 26, 2021 01:49
  - Adds platform constructors to C API.
  - Adds a wrapper function for cl::sycl::platform::get_platforms().
  - Adds a new platform_manager module that defines the print_platform_info
    helper function and defines the DPCTLPlatformVectorRef type.
  - Adds C API functions to get name, vendor, version, backend for a
    platform.
  - Adds a Python module to define the new extension type SyclPlatform.
  - Adds a new function called get_platforms() to return a list of
    available SyclPlatform objects.
  - Move dpctl.dump() out of _sycl_queue_manager.pyx into _sycl_platform.pyx
    and rename dpctl.dump() to dpctl.lsplatform.
  - Remove dpctl.get_num_platforms() and dpctl.get_has_sycl_platforms().
@diptorupd diptorupd force-pushed the feature/platform_interface branch from 16e703d to b95cb1c Compare March 26, 2021 03:10
@diptorupd diptorupd merged commit f0ada84 into IntelPython:master Mar 26, 2021
@diptorupd diptorupd deleted the feature/platform_interface branch March 26, 2021 22:45
diptorupd pushed a commit that referenced this pull request Apr 2, 2021
* Add a SYCL platform wrapper to dpctl.

  - Adds platform constructors to C API.
  - Adds a wrapper function for cl::sycl::platform::get_platforms().
  - Adds a new platform_manager module that defines the print_platform_info
    helper function and defines the DPCTLPlatformVectorRef type.
  - Adds C API functions to get name, vendor, version, backend for a
    platform.
  - Adds a Python module to define the new extension type SyclPlatform.
  - Adds a new function called get_platforms() to return a list of
    available SyclPlatform objects.
  - Move dpctl.dump() out of _sycl_queue_manager.pyx into _sycl_platform.pyx
    and rename dpctl.dump() to dpctl.lsplatform.
  - Remove dpctl.get_num_platforms() and dpctl.get_has_sycl_platforms().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants