Repository navigation
Feature/platform interface - #336
Merged
diptorupd merged 2 commits intoMar 26, 2021
Merged
Conversation
diptorupd
force-pushed
the
feature/platform_interface
branch
3 times, most recently
from
March 26, 2021 01:49
a6d3c98 to
16e703d
Compare
- 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
force-pushed
the
feature/platform_interface
branch
from
March 26, 2021 03:10
16e703d to
b95cb1c
Compare
oleksandr-pavlyk
approved these changes
Mar 26, 2021
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().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.