Repository navigation
Fix dpctl.lsplatform() to output in jupyter notebook - #800
Conversation
oleksandr-pavlyk
left a comment
There was a problem hiding this comment.
Please do not change the API public functions. Instead extend the API and change the implementation of the API.
DPCTLPlatformMgr_PrintInfo calls internal routine to get std::string and outputs it as before.
DPCTLPlatformMgr_GetInfo calls internal routine to get std::string and copies the result into C-style string.
fe8b34b to
b553fde
Compare
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/800/index.html |
|
@vlad-perevezentsev Thank you for making the requested changes. DPCTLSyclInterface tests for The test would call a function and check that the returned |
2ab98a0 to
b5433f1
Compare
b5433f1 to
34b4d4f
Compare
There was a problem hiding this comment.
I was able to build the coverage workflow manually. I was also able to manually confirm that the original issue of output of dpctl.lsplatform() not showing in remotely connected jupyter notebook has been fixed.
LGTM! Waiting for the CI to run its course.
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Closes #796
This PR changes
DPCTLPlatformMgr_PrintInfofunction to returnchar *instead of outputting it inlibsyclinterface, and use that to print using CPython.