oneapi-src / oneapi-src/unified-runtime
urProgramBuild doesnt take a list of devices, like piProgramBuild
Open
Nobody has claimed this yet.
specification
- Dominant language
- C++
- Stars
- 57
- Forks
- 120
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 1
Description
piProgramBuild receives a list of devices, while urProgramBuild does not. This produces a series of issues when a UR program needs to be created for a specific device.
So we need to define a new API, something like urProgramBuildExp to pass this list (please see here https://github.com/oneapi-src/unified-runtime/pull/911)
Another alternative is to add numDevices and phDevices to existing urProgramBuild:
- if numDevices is zero, the urProgramBuild retains current behavior, where program is build for all devices in the context
- if numDevices is non-zero, then urProgramBuild builds only for those devices.
Other suggestions are welcome.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.