Skip to content

[SYCL] Fix kernel bundles don't really carry kernel IDs #5121

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

Merged
merged 7 commits into from
Dec 22, 2021

Conversation

denis-kabanov
Copy link
Contributor

@denis-kabanov denis-kabanov commented Dec 10, 2021

Fix that interop kernel bundles don't really carry kernel IDs for contained kernels. This change adds In enqueueImpKernel another condition to taking the path using the associated kernel_bundle, namely that interop bundles can't be used in the first branch. (This is because the kernels in interop kernel bundles (if any) do not have kernel_id and can therefore not be looked up, but since they are self-contained they can simply be launched directly.)

@denis-kabanov denis-kabanov requested a review from a team as a code owner December 10, 2021 17:49
@denis-kabanov
Copy link
Contributor Author

PR with test

Copy link
Contributor

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

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

This PR does not change/remove any global symbols, and only creates some, which is non-breaking allowed ABI change.

@bader
Copy link
Contributor

bader commented Dec 16, 2021

@denis-kabanov, please, fix pre-commit test failures for intel/llvm-test-suite#616.

@denis-kabanov
Copy link
Contributor Author

@denis-kabanov, please, fix pre-commit test failures for intel/llvm-test-suite#616.

@bader, according to verify with #5121, my test passed all checks, whereas failed tests (Assert, DeviceLib) are a common problem for each pr to llvm-test-suite.

@bader
Copy link
Contributor

bader commented Dec 16, 2021

@denis-kabanov, @intel/llvm-reviewers-runtime, I would like patches to pass all tests in pre-commit. Please, address common problems first. If it takes time, we can disable failing tests while working on them.

denis-kabanov added a commit to denis-kabanov/llvm-test-suite that referenced this pull request Dec 21, 2021
Disable Basic/get_backend test due to sporadic failures in prs:
intel/llvm#5191
intel/llvm#5121
@denis-kabanov
Copy link
Contributor Author

A failed test is irrelevant to these changes.

@denis-kabanov
Copy link
Contributor Author

@denis-kabanov, @intel/llvm-reviewers-runtime, I would like patches to pass all tests in pre-commit. Please, address common problems first. If it takes time, we can disable failing tests while working on them.

Check for carrying real kernel IDs passed Jenkins/llvm-test-suite.

@bader bader merged commit 13443a9 into intel:sycl Dec 22, 2021
bader pushed a commit to intel/llvm-test-suite that referenced this pull request Dec 22, 2021
Disable Basic/get_backend test due to sporadic failures in prs:
intel/llvm#5191
intel/llvm#5121
alexbatashev added a commit to alexbatashev/llvm that referenced this pull request Dec 23, 2021
* upstream/sycl: (1382 commits)
  [SYCL][XPTI] Report memory allocation info from SYCL runtime (intel#5172)
  [CI] Switch labels for OCL x64 job (intel#5185)
  [SYCL] Add basic support for the generic_space address space (intel#5148)
  [CI] Update CODEOWNERS for SYCL printf support passes (intel#5199)
  [SYCL][Matrix] Enable wi_slice for joint_matrix (intel#4979)
  [SYCL][Group algorithms] Move group sort extension to experimental (intel#5169)
  [SYCL] Fix kernel bundles don't really carry kernel IDs (intel#5121)
  [SYCL] Initial printf support for non-constant AS format strings (intel#5069)
  [SYCL][NFC] Fix static code analysis concerns (intel#5189)
  [SYCL][Doc] Fix typos to fix doc build (intel#5190)
  [Driver][SYCL] Turn on -fsycl-dead-args-optimization by default (intel#3004)
  [SYCL][L0][Plugin] Add support for batching copy commands (intel#5155)
  [CI] Add cache checkout script to docker containers (intel#5184)
  [SYCL][Doc] Add HIP backend to the filter selector (intel#5176)
  [Doc] Add documentation for Docker images (intel#4778)
  [LIBCLC] Add functionality for in-kernel asserts for CUDA backend (intel#5174)
  Force opt to use new pass manager in exponential-deferred-inlining test after a8c2ba1
  [SYCL] Add vec and marray support to known_identity type trait (intel#5163)
  Correctly resolve merge conflicts
  Update SPV_INTEL_hw_thread_queries to rev 2
  ...
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Disable Basic/get_backend test due to sporadic failures in prs:
intel#5191
intel#5121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants