We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebeb56 commit 7e2ca27Copy full SHA for 7e2ca27
sycl/test-e2e/ESIMD/lsc/Inputs/lsc_slm_load.hpp
@@ -146,7 +146,7 @@ bool test(queue Q, uint32_t PMask = ~0) {
146
Tuint ExpectedVal =
147
IsMaskSet ? (ExpectedValBase + ChannelId + J * NChannels) & VMask
148
: sycl::bit_cast<Tuint>(MergeValue);
149
- Tuint ComputedVal = sycl::bit_cast<Tuint>(Out[OutIndex]);
+ Tuint ComputedVal = sycl::bit_cast<Tuint>(Out[OutIndex]) & VMask;
150
if (ComputedVal != ExpectedVal && NErrors++ < 32) {
151
std::cout << "Error: " << OutIndex << ": Value = " << ComputedVal
152
<< ", Expected value = " << ExpectedVal
0 commit comments