Skip to content

Conversation

@Bensuo
Copy link
Contributor

@Bensuo Bensuo commented Jun 1, 2023

  • Adds support for command-buffers experimental feature
  • Add command-buffer desc type to common.yml
  • Add device info query for command-buffer support

Porting the PI command-buffer extension added in intel/llvm#9375 which is currently under review. The functions implemented do not cover all possible command types, only those that have actually been implemented in the linked PR.

Notes:

  • As there's no way to extend existing enums from the command-buffer YAML file I've modified those directly where necessary.

@Bensuo Bensuo force-pushed the ben/port-command-buffers branch from fc305b6 to 047fa16 Compare June 1, 2023 15:24
@Bensuo Bensuo marked this pull request as ready for review June 5, 2023 11:06
Copy link
Contributor

@EwanC EwanC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my perspective

Copy link
Contributor

@omarahmed1111 omarahmed1111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add also COMMAND_BUFFER_SUPPORT_EXP in device.yml x_device_info_t to support this device info query.
Edit: This is resolved and was discussed in this comment

@kbenzie
Copy link
Contributor

kbenzie commented Jun 8, 2023

@Bensuo please rebase, run the generate target, and commit the changes to fix the GitHub Actions.

Bensuo added 5 commits June 8, 2023 15:07
- Adds support for command-buffers experimental feature
- Add command-buffer desc type to common.yml
- Add device info query for command-buffer support
- Add return codes to all cmdbuffer functions
- Consistent naming for functions that append to a cmdbuffer
- Set command-buffer ordinal to 99
- Include license
- Fix incorrect naming conventions
- Make sync point parameters optional
- Move and add explicit values to errors
@Bensuo Bensuo force-pushed the ben/port-command-buffers branch from e5f92ef to 5897875 Compare June 8, 2023 14:08
@Bensuo
Copy link
Contributor Author

Bensuo commented Jun 8, 2023

@Bensuo please rebase, run the generate target, and commit the changes to fix the GitHub Actions.

@kbenzie PR should be up-to-date now.

@kbenzie kbenzie merged commit 35e88a7 into oneapi-src:main Jun 9, 2023
@kbenzie kbenzie added the experimental Experimental feature additions/changes/specification label Jun 9, 2023
Bensuo pushed a commit to Bensuo/unified-runtime that referenced this pull request Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experimental Experimental feature additions/changes/specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants