Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][ESIMD] Increase USM allocation size for Stencil test. #189

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

kychendev
Copy link

@kychendev kychendev commented Mar 19, 2021

The Stencil test showed sporadic failures before last change. Investigation shows it works fine on Linux. The problem only showed up on Windows and could be voided by adjusting SLM allocation size. The GPU assembly dump is the same in the passing and failing case. Semenov, Sergey helped look into USM allocation issue on Windows vs. Linux and didn't find anything suspicious. So the problem could be still due to out-of-order block access. As discussed, in this patch the kernel SLM allocation size is increased by +16 to avoid OOB access.

@kychendev
Copy link
Author

@kbobrovs, I see some failing tests unrelated to my change. Are these known regressions?

[2021-03-19T20:22:10.988Z] Failed Tests (4):

[2021-03-19T20:22:10.988Z] SYCL :: Basic/enqueue_barrier.cpp

[2021-03-19T20:22:10.988Z] SYCL :: Functor/kernel_functor.cpp

[2021-03-19T20:22:10.988Z] SYCL :: InorderQueue/in_order_dmemll.cpp

[2021-03-19T20:22:10.988Z] SYCL :: Reduction/reduction_transparent.cpp

@kychendev
Copy link
Author

@kbobrovs, nevermind, I restarted the test and all passed now. So it was a glitch.

@vladimirlaz vladimirlaz merged commit 6183ef2 into intel:intel Mar 22, 2021
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Apr 12, 2022
…-xmain

CMPLRTST-14236: Adjust test driver to make it support child suites of llvm_test_suite_sycl
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…lvm-test-suite#189)

The Stencil test showed sporadic failures before last change. Investigation shows it works fine on Linux. The problem only showed up on Windows and could be voided by adjusting SLM allocation size. The GPU assembly dump is the same in the passing and failing case. Semenov, Sergey helped look into USM allocation issue on Windows vs. Linux and didn't find anything suspicious. So the problem could be still due to out-of-order block access. As discussed, in this patch the kernel SLM allocation size is increased by +16 to avoid OOB access.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants