Home
last modified time | relevance | path

Searched full:localsize (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/external/OpenCL-CTS/test_conformance/non_uniform_work_group/
Dtest_basic.cpp37 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic() local
39 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_1d_basic()
50 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic() local
52 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_1d_basic()
59 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic() local
61 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_1d_basic()
68 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic() local
70 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_1d_basic()
76 size_t localSize[] = {maxWgSize}; in test_non_uniform_1d_basic() local
78 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_1d_basic()
[all …]
Dtest_advanced_2d.cpp37 size_t localSize[] = {maxWgSize, 1}; in test_non_uniform_2d_basic() local
39 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_2d_basic()
50 size_t localSize[] = {maxWgSize/2, 2}; in test_non_uniform_2d_basic() local
52 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_2d_basic()
64 size_t localSize[] = {16, maxWgSize/16}; in test_non_uniform_2d_basic() local
66 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_2d_basic()
73 size_t localSize[] = {maxWgSize/32, 32}; in test_non_uniform_2d_basic() local
75 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_2d_basic()
81 size_t localSize[] = {maxWgSize/32, 32}; in test_non_uniform_2d_basic() local
83 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_2d_basic()
[all …]
Dtest_advanced_3d.cpp37 size_t localSize[] = {maxWgSize, 1, 1}; in test_non_uniform_3d_basic() local
39 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… 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() local
52 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… 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() local
66 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_3d_basic()
73 size_t localSize[] = {8, std::max<size_t>(maxWgSize/32,1), 4}; in test_non_uniform_3d_basic() local
75 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_3d_basic()
87 size_t *localSize = NULL; in test_non_uniform_3d_basic() local
89 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, R… in test_non_uniform_3d_basic()
[all …]
Dtest_advanced_other.cpp43 size_t localSize[] = {fit1dResult.Val1}; in test_non_uniform_other_basic() local
46 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, o… in test_non_uniform_other_basic()
59 size_t localSize[] = {primeNumber, 1}; in test_non_uniform_other_basic() local
62 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, o… in test_non_uniform_other_basic()
80 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_basic() local
83 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, o… in test_non_uniform_other_basic()
99 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_basic() local
102 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, N… in test_non_uniform_other_basic()
130 size_t localSize[] = {fit1dResult.Val1}; in test_non_uniform_other_atomics() local
133 …exec.runTestNonUniformWorkGroup(sizeof(globalSize)/sizeof(globalSize[0]), globalSize, localSize, o… in test_non_uniform_other_atomics()
[all …]
DTestNonUniformWorkGroup.cpp249 const size_t *localSize, const size_t *buffersSize, in TestNonUniformWorkGroup() argument
268 // We only need to do this when localSize is non-null, otherwise the driver in TestNonUniformWorkGroup()
269 // will select a value for localSize which will be uniform on devices that in TestNonUniformWorkGroup()
271 if (nullptr != localSize && get_device_cl_version(device) >= Version(3, 0)) in TestNonUniformWorkGroup()
300 + (localSize[dim] - global_size_before % localSize[dim]); in TestNonUniformWorkGroup()
313 setLocalWorkgroupSize(globalSize, localSize); in TestNonUniformWorkGroup()
338 if (localSize) in TestNonUniformWorkGroup()
382 … TestNonUniformWorkGroup::setLocalWorkgroupSize (const size_t *globalSize, const size_t *localSize) in setLocalWorkgroupSize() argument
385 // Enforce localSize should not exceed globalSize in setLocalWorkgroupSize()
386 if (localSize) { in setLocalWorkgroupSize()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_enqueued_local_size.cpp74 size_t localsize[2]; in test_enqueued_local_size() local
127 localsize[0] = MIN(16, max_wgs); in test_enqueued_local_size()
128 localsize[1] = MIN(11, max_wgs / localsize[0]); in test_enqueued_local_size()
134 if (globalsize[0] % localsize[0]) in test_enqueued_local_size()
136 globalsize[0] += (localsize[0] - (globalsize[0] % localsize[0])); in test_enqueued_local_size()
138 if (globalsize[1] % localsize[1]) in test_enqueued_local_size()
140 globalsize[1] += (localsize[1] - (globalsize[1] % localsize[1])); in test_enqueued_local_size()
144 err = clEnqueueNDRangeKernel(queue, kernel[1], 2, NULL, globalsize, localsize, 0, NULL, NULL); in test_enqueued_local_size()
150 err = verify_enqueued_local_size(output_ptr, localsize, 2); in test_enqueued_local_size()
153 localsize[0] = 9; in test_enqueued_local_size()
[all …]
/external/angle/src/tests/compiler_tests/
DWorkGroupSize_test.cpp61 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
62 ASSERT_EQ(5, localSize[0]); in TEST_F()
63 ASSERT_EQ(1, localSize[1]); in TEST_F()
64 ASSERT_EQ(1, localSize[2]); in TEST_F()
78 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
79 ASSERT_EQ(5, localSize[0]); in TEST_F()
80 ASSERT_EQ(1, localSize[1]); in TEST_F()
81 ASSERT_EQ(10, localSize[2]); in TEST_F()
95 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
96 ASSERT_EQ(5, localSize[0]); in TEST_F()
[all …]
/external/deqp/external/openglcts/modules/common/subgroups/
DglcSubgroupsBuiltinVarTests.cpp87 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupSize()
98 for (deUint32 lX = 0; lX < localSize[0]; ++lX) in checkComputeSubgroupSize()
100 for (deUint32 lY = 0; lY < localSize[1]; ++lY) in checkComputeSubgroupSize()
102 for (deUint32 lZ = 0; lZ < localSize[2]; in checkComputeSubgroupSize()
106 nX * localSize[0] + lX; in checkComputeSubgroupSize()
108 nY * localSize[1] + lY; in checkComputeSubgroupSize()
110 nZ * localSize[2] + lZ; in checkComputeSubgroupSize()
113 numWorkgroups[0] * localSize[0]; in checkComputeSubgroupSize()
115 numWorkgroups[1] * localSize[1]; in checkComputeSubgroupSize()
137 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupInvocationID()
[all …]
/external/OpenCL-CTS/test_conformance/workgroups/
Dtest_wg_broadcast.cpp278 size_t localsize[2]; in test_work_group_broadcast_2D() local
298 localsize[0] = localsize[1] = 16; in test_work_group_broadcast_2D()
302 localsize[0] = localsize[1] = 8; in test_work_group_broadcast_2D()
306 localsize[0] = localsize[1] = 4; in test_work_group_broadcast_2D()
310 localsize[0] = localsize[1] = 1; in test_work_group_broadcast_2D()
314 globalsize[0] = num_workgroups * localsize[0]; in test_work_group_broadcast_2D()
315 globalsize[1] = num_workgroups * localsize[1]; in test_work_group_broadcast_2D()
361 err = clEnqueueNDRangeKernel( queue, kernel, 2, NULL, globalsize, localsize, 0, NULL, NULL ); in test_work_group_broadcast_2D()
377 …g_broadcast_2D(input_ptr[0], output_ptr, globalsize[0], globalsize[1], localsize[0], localsize[1])) in test_work_group_broadcast_2D()
405 size_t localsize[3]; in test_work_group_broadcast_3D() local
[all …]
/external/llvm-project/clang/lib/Sema/
DTypeLocBuilder.cpp62 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { in pushImpl() argument
73 if (LocalSize > Index) { in pushImpl()
74 size_t RequiredCapacity = Capacity + (LocalSize - Index); in pushImpl()
89 NumBytesAtAlign4 += LocalSize; in pushImpl()
93 if (LocalSize % 8 == 0) { in pushImpl()
97 assert(LocalSize % 8 == 4); in pushImpl()
104 if (LocalSize % 8 == 0) { in pushImpl()
108 assert(LocalSize % 8 == 4); in pushImpl()
114 NumBytesAtAlign4 += LocalSize; in pushImpl()
120 if ((Index - LocalSize) % 8 != 0) { in pushImpl()
[all …]
DTypeLocBuilder.h69 size_t LocalSize = TypeSpecTypeLoc::LocalDataSize; in pushTypeSpec() local
71 return pushImpl(T, LocalSize, LocalAlign).castAs<TypeSpecTypeLoc>(); in pushTypeSpec()
95 size_t LocalSize = Loc.getLocalDataSize(); in push() local
97 return pushImpl(T, LocalSize, LocalAlign).castAs<TyLocType>(); in push()
127 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment);
/external/clang/lib/Sema/
DTypeLocBuilder.cpp63 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) { in pushImpl() argument
74 if (LocalSize > Index) { in pushImpl()
75 size_t RequiredCapacity = Capacity + (LocalSize - Index); in pushImpl()
90 NumBytesAtAlign4 += LocalSize; in pushImpl()
94 if (LocalSize % 8 == 0) { in pushImpl()
98 assert(LocalSize % 8 == 4); in pushImpl()
105 if (LocalSize % 8 == 0) { in pushImpl()
109 assert(LocalSize % 8 == 4); in pushImpl()
115 NumBytesAtAlign4 += LocalSize; in pushImpl()
121 if ((Index - LocalSize) % 8 != 0) { in pushImpl()
[all …]
DTypeLocBuilder.h72 size_t LocalSize = TypeSpecTypeLoc::LocalDataSize; in pushTypeSpec() local
74 return pushImpl(T, LocalSize, LocalAlign).castAs<TypeSpecTypeLoc>(); in pushTypeSpec()
98 size_t LocalSize = Loc.getLocalDataSize(); in push() local
100 return pushImpl(T, LocalSize, LocalAlign).castAs<TyLocType>(); in push()
130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment);
/external/deqp/modules/gles31/functional/
Des31fComputeShaderBuiltinVarTests.cpp90 UVec3 localSize; member
94 …SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) : localSize(localSize_), numWorkGro… in SubCase()
103 deUint32 getProgram (const UVec3& localSize);
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() argument
141 …<< "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_… in genBuiltinVarSource()
157 deUint32 ComputeBuiltinVarCase::getProgram (const UVec3& localSize) in getProgram() argument
159 LocalSizeProgramMap::const_iterator cachePos = m_progMap.find(localSize); in getProgram()
165 … ProgramSources() << ComputeSource(genBuiltinVarSource(m_varName, m_varType, localSize)))); in getProgram()
172 m_progMap[localSize] = program; in getProgram()
210 const deUint32 program = getProgram(subCase.localSize); in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsSizeControlTests.cpp178 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkCompute()
193 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkCompute()
194 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkCompute()
195 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkCompute()
204 …log << tcu::TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2… in checkCompute()
212 …log << tcu::TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2… in checkCompute()
222 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeRequireFull()
243 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkComputeRequireFull()
244 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkComputeRequireFull()
245 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkComputeRequireFull()
[all …]
DvktSubgroupsBuiltinVarTests.cpp90 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupSize()
102 for (deUint32 lX = 0; lX < localSize[0]; ++lX) in checkComputeSubgroupSize()
104 for (deUint32 lY = 0; lY < localSize[1]; ++lY) in checkComputeSubgroupSize()
106 for (deUint32 lZ = 0; lZ < localSize[2]; in checkComputeSubgroupSize()
110 nX * localSize[0] + lX; in checkComputeSubgroupSize()
112 nY * localSize[1] + lY; in checkComputeSubgroupSize()
114 nZ * localSize[2] + lZ; in checkComputeSubgroupSize()
117 numWorkgroups[0] * localSize[0]; in checkComputeSubgroupSize()
119 numWorkgroups[1] * localSize[1]; in checkComputeSubgroupSize()
141 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupInvocationID()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp118 const tcu::IVec3& localSize,
125 const tcu::IVec3& localSize,
133 const tcu::IVec3& localSize,
148 const tcu::IVec3& localSize,
174 const tcu::IVec3& localSize, in UseAfterFreeTestCase() argument
180 , m_localSize (localSize) in UseAfterFreeTestCase()
191 const tcu::IVec3& localSize, in UBOToSSBOInvertCase() argument
194 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in UBOToSSBOInvertCase()
201 const tcu::IVec3& localSize, in CopyInvertSSBOCase() argument
204 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in CopyInvertSSBOCase()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp111 const UVec3& localSize (void) const { return m_localSize; } in localSize() function in vkt::compute::__anonf0be732e0111::SubCase
161 …nVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp…
165 deUint32 getProgram (const tcu::UVec3& localSize);
197 …<< glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize(), m_readByCompo… in initPrograms()
201 …inVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp… in genBuiltinVarSource() argument
206 …<< "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_… in genBuiltinVarSource()
418 const tcu::UVec3 globalSize = subCase.localSize()*subCase.numWorkGroups(); in iterate()
422 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate()
521 for (deUint32 localZ = 0; localZ < subCase.localSize().z(); localZ++) in iterate()
522 for (deUint32 localY = 0; localY < subCase.localSize().y(); localY++) in iterate()
[all …]
DvktComputeBasicComputeShaderTests.cpp122 const tcu::IVec3& localSize,
137 const tcu::IVec3& localSize,
150 const tcu::IVec3& localSize, in SharedVarTest() argument
153 , m_localSize (localSize) in SharedVarTest()
172 << " uint localSize = gl_WorkGroupSize.x*gl_WorkGroupSize.y*gl_WorkGroupSize.z;\n" in initPrograms()
174 << " uint globalOffs = localSize*globalNdx;\n" in initPrograms()
177 << " offsets[localSize-localOffs-1u] = globalOffs + localOffs*localOffs;\n" in initPrograms()
191 SharedVarTestInstance::SharedVarTestInstance (Context& context, const tcu::IVec3& localSize, const … in SharedVarTestInstance() argument
193 , m_localSize (localSize) in SharedVarTestInstance()
293 const tcu::IVec3& localSize,
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
Dutil.h31 inline std::string GetShaderHeader(const uint3& localsize) { in GetShaderHeader() argument
32 return absl::StrCat("#version 310 es\nlayout(local_size_x = ", localsize.x, in GetShaderHeader()
33 ", local_size_y = ", localsize.y, in GetShaderHeader()
34 ", local_size_z = ", localsize.z, ") in;\n"); in GetShaderHeader()
/external/llvm-project/llvm/test/MC/COFF/
Dcv-fpo-csrs.s71 # OBJ-NEXT: LocalSize: 0x0
88 # OBJ-NEXT: LocalSize: 0x0
105 # OBJ-NEXT: LocalSize: 0x0
123 # OBJ-NEXT: LocalSize: 0x0
142 # OBJ-NEXT: LocalSize: 0x0
162 # OBJ-NEXT: LocalSize: 0x14
Dcv-fpo-setframe.s74 # OBJ-NEXT: LocalSize: 0x0
91 # OBJ-NEXT: LocalSize: 0x0
108 # OBJ-NEXT: LocalSize: 0x0
125 # OBJ-NEXT: LocalSize: 0x0
143 # OBJ-NEXT: LocalSize: 0x0
162 # OBJ-NEXT: LocalSize: 0x0
/external/llvm-project/lld/test/COFF/Inputs/
Dpdb-globals.yaml135 LocalSize: 0
143 LocalSize: 0
151 LocalSize: 0
195 LocalSize: 0
203 LocalSize: 0
211 LocalSize: 0
339 LocalSize: 0
347 LocalSize: 0
355 LocalSize: 0
698 LocalSize: 0
[all …]
/external/llvm-project/llvm/test/DebugInfo/COFF/
Dfpo-csrs.ll78 ; OBJ-NEXT: LocalSize: 0x0
95 ; OBJ-NEXT: LocalSize: 0x0
145 ; OBJ-NEXT: LocalSize: 0x0
162 ; OBJ-NEXT: LocalSize: 0x0
179 ; OBJ-NEXT: LocalSize: 0x0
231 ; OBJ-NEXT: LocalSize: 0x0
248 ; OBJ-NEXT: LocalSize: 0x0
265 ; OBJ-NEXT: LocalSize: 0x0
283 ; OBJ-NEXT: LocalSize: 0x0
341 ; OBJ-NEXT: LocalSize: 0x0
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dfix_storage_class_test.cpp35 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
95 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
157 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
219 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
289 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
355 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
390 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
477 OpExecutionMode %1 LocalSize 8 8 1 in TEST_F()
537 OpExecutionMode %main LocalSize 1 1 1 in TEST_F()
582 OpExecutionMode %main LocalSize 1 1 1 in TEST_F()
[all …]

12345678910>>...32