Home
last modified time | relevance | path

Searched refs:requiredAllocSize (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp487 cl_ulong requiredAllocSize; in test_min_max_mem_alloc_size() local
490 requiredAllocSize = 1 * 1024 * 1024; in test_min_max_mem_alloc_size()
492 requiredAllocSize = 128 * 1024 * 1024; in test_min_max_mem_alloc_size()
505 if( maxAllocSize < requiredAllocSize) in test_min_max_mem_alloc_size()
507 …ired %lldMB! (%llu or %lluMB, from a total mem size of %lldMB)\n", (requiredAllocSize / 1024) / 10… in test_min_max_mem_alloc_size()
511 requiredAllocSize = ((memSize / 4) > (1024 * 1024 * 1024)) ? 1024 * 1024 * 1024 : memSize / 4; in test_min_max_mem_alloc_size()
514requiredAllocSize = (requiredAllocSize < 1 * 1024 * 1024) ? 1 * 1024 * 1024 : requiredAllocSize; in test_min_max_mem_alloc_size()
516requiredAllocSize = (requiredAllocSize < 128 * 1024 * 1024) ? 128 * 1024 * 1024 : requiredAllocSiz… in test_min_max_mem_alloc_size()
518 if( maxAllocSize < requiredAllocSize ) in test_min_max_mem_alloc_size()
520 … mem size of %lluMB)\n", maxAllocSize, (maxAllocSize / 1024)/1024, (requiredAllocSize / 1024)/1024… in test_min_max_mem_alloc_size()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp1359 uint32_t requiredAllocSize = KNOB_SIMD_WIDTH * tsState.hsAllocationSize; in TessellationStages() local
1361 if (requiredAllocSize > gt_pTessellationThreadData->hsOutputAllocSize) in TessellationStages()
1364 gt_pTessellationThreadData->pHSOutput = (uint8_t*)AlignedMalloc(requiredAllocSize, 64); in TessellationStages()
1365 gt_pTessellationThreadData->hsOutputAllocSize = requiredAllocSize; in TessellationStages()
1416 size_t requiredAllocSize = sizeof(simdvector) * RoundUpEven(requiredDSVectorInvocations) * in TessellationStages() local
1420 size_t requiredAllocSize = sizeof(simdvector) * requiredDSOutputVectors; in TessellationStages() local
1422 if (requiredAllocSize > gt_pTessellationThreadData->dsOutputAllocSize) in TessellationStages()
1426 (simdscalar*)AlignedMalloc(requiredAllocSize, 64); in TessellationStages()
1427 gt_pTessellationThreadData->dsOutputAllocSize = requiredAllocSize; in TessellationStages()
1430 SWR_ASSERT(gt_pTessellationThreadData->dsOutputAllocSize >= requiredAllocSize); in TessellationStages()
[all …]