Skip to content

[SPIR-V][DOC] Add SPV_INTEL_hw_thread_queries extension spec #4747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

MrSidims
Copy link
Contributor

Signed-off-by: Dmitry Sidorov dmitry.sidorov@intel.com

@MrSidims MrSidims requested a review from a team as a code owner October 11, 2021 20:07
MrSidims added a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Oct 11, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Oct 11, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Oct 11, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@MrSidims MrSidims force-pushed the SPV_INTEL_hw_thread_queries branch from d8cb86f to 49e3f14 Compare October 11, 2021 22:04
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@MrSidims MrSidims added SPIR-V Issues related to SPIRV-LLVM-Translator spec extension All issues/PRs related to extensions specifications labels Oct 13, 2021
@MrSidims MrSidims changed the title Add SPV_INTEL_hw_thread_queries extension spec [SPIR-V][DOC] Add SPV_INTEL_hw_thread_queries extension spec Oct 13, 2021
MrSidims added a commit to MrSidims/SPIRV-LLVM-Translator that referenced this pull request Oct 15, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Oct 18, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
vmaksimo pushed a commit to vmaksimo/llvm that referenced this pull request Oct 25, 2021
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@ddb1c7a
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@intel intel deleted a comment from mbelicki Dec 1, 2021
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@github-actions github-actions bot added the Stale label Jun 9, 2022
@github-actions github-actions bot closed this Jul 9, 2022
@bader bader removed the Stale label Jul 9, 2022
@bader bader reopened this Jul 9, 2022
Quetzonarch pushed a commit to Quetzonarch/SPIRV-LLVM-Translator that referenced this pull request Jul 13, 2022
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@github-actions github-actions bot added the Stale label Jan 6, 2023
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 19, 2023
…onosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 19, 2023
…onosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 19, 2023
…onosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims pushed a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 21, 2023
[Backport to 13] Implement SPV_INTEL_hw_thread_queries extension

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

[Backport to 13] Update SPV_INTEL_hw_thread_queries to rev 2

Replace local id with global id.
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 21, 2023
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 21, 2023
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 24, 2023
…onosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 24, 2023
…nosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 24, 2023
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 25, 2023
…onosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 26, 2023
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Jan 28, 2023
…nosGroup#1245)

The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
MrSidims added a commit to KhronosGroup/SPIRV-LLVM-Translator that referenced this pull request Jan 28, 2023
The extension adds BuiltIn decorations to query maximum number
of H/W threads per a sub-device (tile), a sub-device ID and a H/W
thread ID within the sub-device. These instructions combined can be
used to calculate a unique H/W thread on which the code is being launched.

Spec: intel/llvm#4747
Some info about Intel multi-tile cards:
https://github.com/intel/llvm/blob/sycl/sycl/doc/MultiTileCardWithLevelZero.md

Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
@github-actions github-actions bot closed this Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec extension All issues/PRs related to extensions specifications SPIR-V Issues related to SPIRV-LLVM-Translator Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants