mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -1361,9 +1361,8 @@ int CBasicTest<HostAtomicType, HostDataType>::ExecuteSingleTest(
|
||||
error =
|
||||
clSetKernelArg(kernel, argInd++,
|
||||
LocalRefValues() ? typeSize
|
||||
* ((CurrentGroupSize()
|
||||
* NumNonAtomicVariablesPerThread())
|
||||
+ 4)
|
||||
* (CurrentGroupSize()
|
||||
* NumNonAtomicVariablesPerThread())
|
||||
: 1,
|
||||
NULL);
|
||||
test_error(error, "Unable to set indexed kernel argument");
|
||||
|
||||
Reference in New Issue
Block a user