Home
last modified time | relevance | path

Searched refs:maxWgSize (Results 1 – 7 of 7) sorted by relevance

/external/OpenCL-CTS/test_conformance/non_uniform_work_group/
Dtest_advanced_2d.cpp26 size_t maxWgSize; in test_non_uniform_2d_basic() local
28 err = exec.calculateWorkGroupSize(maxWgSize, Range::BASIC); in test_non_uniform_2d_basic()
36 size_t globalSize[] = {maxWgSize+1, maxWgSize}; in test_non_uniform_2d_basic()
37 size_t localSize[] = {maxWgSize, 1}; in test_non_uniform_2d_basic()
44 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize, 2*maxWgSize); in test_non_uniform_2d_basic()
49 size_t globalSize[] = {primeNumber, maxWgSize}; in test_non_uniform_2d_basic()
50 size_t localSize[] = {maxWgSize/2, 2}; in test_non_uniform_2d_basic()
57 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize, 2*maxWgSize); in test_non_uniform_2d_basic()
64 size_t localSize[] = {16, maxWgSize/16}; in test_non_uniform_2d_basic()
73 size_t localSize[] = {maxWgSize/32, 32}; in test_non_uniform_2d_basic()
[all …]
Dtest_advanced_3d.cpp26 size_t maxWgSize; in test_non_uniform_3d_basic() local
28 err = exec.calculateWorkGroupSize(maxWgSize, Range::BASIC); in test_non_uniform_3d_basic()
36 size_t globalSize[] = {maxWgSize+1, maxWgSize/24, maxWgSize/24}; in test_non_uniform_3d_basic()
37 size_t localSize[] = {maxWgSize, 1, 1}; in test_non_uniform_3d_basic()
44 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize, 2*maxWgSize); in test_non_uniform_3d_basic()
49 size_t globalSize[] = {maxWgSize/25, primeNumber, maxWgSize/25}; in test_non_uniform_3d_basic()
50 size_t localSize[] = {2, std::max<size_t>(maxWgSize/4,1), 2}; in test_non_uniform_3d_basic()
57 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize, 2*maxWgSize); in test_non_uniform_3d_basic()
63 size_t globalSize[] = {primeNumber2, maxWgSize/8, primeNumber}; in test_non_uniform_3d_basic()
64 size_t localSize[] = {8, 4, std::max<size_t>(maxWgSize/32,1)}; in test_non_uniform_3d_basic()
[all …]
Dtest_basic.cpp26 size_t maxWgSize; in test_non_uniform_1d_basic() local
28 err = exec.calculateWorkGroupSize(maxWgSize, Range::BASIC); in test_non_uniform_1d_basic()
36 size_t globalSize[] = {maxWgSize+1}; in test_non_uniform_1d_basic()
37 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic()
44 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize, 2*maxWgSize); in test_non_uniform_1d_basic()
50 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic()
58 size_t globalSize[] = {maxWgSize+primeNumber}; in test_non_uniform_1d_basic()
59 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic()
67 size_t globalSize[] = {maxWgSize+primeNumber}; in test_non_uniform_1d_basic()
68 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic()
[all …]
Dtest_advanced_other.cpp26 size_t maxWgSize; in test_non_uniform_other_basic() local
28 err = exec.calculateWorkGroupSize(maxWgSize, Range::BASIC); in test_non_uniform_other_basic()
40 fit1dResult = PrimeNumbers::fitMaxPrime1d(primeNumber2, maxWgSize ); in test_non_uniform_other_basic()
51 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize/2, maxWgSize); in test_non_uniform_other_basic()
78 fit3dResult = PrimeNumbers::fitMaxPrime3d(primeNumber4, primeNumber5, primeNumber6, maxWgSize ); in test_non_uniform_other_basic()
96 fit3dResult = PrimeNumbers::fitMaxPrime3d(primeNumber4, primeNumber5, primeNumber6, maxWgSize ); in test_non_uniform_other_basic()
113 size_t maxWgSize; in test_non_uniform_other_atomics() local
115 err = exec.calculateWorkGroupSize(maxWgSize, Range::ATOMICS); in test_non_uniform_other_atomics()
127 fit1dResult = PrimeNumbers::fitMaxPrime1d(primeNumber2, maxWgSize ); in test_non_uniform_other_atomics()
138 int primeNumber = PrimeNumbers::getPrimeNumberInRange(maxWgSize/2, maxWgSize); in test_non_uniform_other_atomics()
[all …]
DTestNonUniformWorkGroup.cpp829 int SubTestExecutor::calculateWorkGroupSize(size_t &maxWgSize, int testRange) { in calculateWorkGroupSize() argument
851 …orkGroupInfo (testKernel, _device, CL_KERNEL_WORK_GROUP_SIZE, sizeof(maxWgSize), &maxWgSize, NULL); in calculateWorkGroupSize()
854 TestNonUniformWorkGroup::setMaxLocalWorkgroupSize(maxWgSize); in calculateWorkGroupSize()
DTestNonUniformWorkGroup.h138 int calculateWorkGroupSize(size_t &maxWgSize, int testRange);
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp1059 size_t maxWgSize; in get_max_allowed_1d_work_group_size_on_device() local
1064 sizeof(size_t), &maxWgSize, NULL); in get_max_allowed_1d_work_group_size_on_device()
1089 if (maxWgSize > maxWgSizePerDim[0]) in get_max_allowed_1d_work_group_size_on_device()
1091 maxWgSize = maxWgSizePerDim[0]; in get_max_allowed_1d_work_group_size_on_device()
1096 *outSize = maxWgSize; in get_max_allowed_1d_work_group_size_on_device()