Minimum 2 non atomic variables per thread for the c11 atomic fence test for embedded profile devices. (#1452)

* Minimum 2 Non atomic variables per thread for an embedded profile device - https://github.com/KhronosGroup/OpenCL-CTS/issues/1274

* Formatting
This commit is contained in:
Ahmed
2022-09-06 17:53:12 +01:00
committed by GitHub
parent 7caa4c4421
commit 388944c01c
2 changed files with 3186 additions and 2178 deletions

View File

@@ -1361,9 +1361,8 @@ int CBasicTest<HostAtomicType, HostDataType>::ExecuteSingleTest(
error =
clSetKernelArg(kernel, argInd++,
LocalRefValues() ? typeSize
* ((CurrentGroupSize()
* (CurrentGroupSize()
* NumNonAtomicVariablesPerThread())
+ 4)
: 1,
NULL);
test_error(error, "Unable to set indexed kernel argument");

File diff suppressed because it is too large Load Diff