Enhancement: Add clarification on use of dlpack for kDLOneAPI devices#170
Enhancement: Add clarification on use of dlpack for kDLOneAPI devices#170
Conversation
|
It should be possible for the managing context to do the necessary SYCL runtime call to get the context (if needed by the consuming framework), leaving that possibility up to the generating framework. Either that or we should specify in the documentation that the default context should be used. |
|
@oleksandr-pavlyk would you mind taking a look? |
|
Thanks for fixing the spelling @icfaust . How can consumer of data passed using DLPack protocol decide whether
Even if the additional information intended to be stashed away in Suppose the consumer has a way to determine that additional information is available in Perhaps a way to avoid a call to SYCL runtime is to expand |
This has no functional impact on the header file, only to modify the text associated with the kDLOneAPI enum. It accomplishes two things:
partitionmanager_ctxstruct member.While its clear that the
manager_ctxis predominantly used for proper data deletion, it can also provide this necessary information associated with SYCL and/or OpenCL peculiarities (namely 'contexts' in both, but also specifically devices for SYCL, etc.). This should be done in the hope that various implementers of the__dlpack__standard may try to additionally standardize the required additional information outside of dlpack.Continues some discussion from #78