Searched refs:AllocAligned (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/lib/core/ |
D | arena_test.cc | 63 char* alloc_aligned8 = a.AllocAligned(17, 8); in TEST() 65 char* alloc_aligned8_b = a.AllocAligned(8, 8); in TEST() 67 char* alloc_aligned8_c = a.AllocAligned(16, 8); in TEST() 69 char* alloc_aligned8_d = a.AllocAligned(8, 1); in TEST()
|
D | arena.h | 45 char* AllocAligned(const size_t size, const size_t alignment) { in AllocAligned() function
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | fifo.hpp | 58 T* pNewBlock = (T*)arena.AllocAligned(sizeof(T)*mBlockSize, KNOB_SIMD_WIDTH*4); in clear() 131 T* newBlock = (T*)arena.AllocAligned(sizeof(T)*mBlockSize, KNOB_SIMD_WIDTH*4); in enqueue_try_nosync()
|
D | arena.h | 378 void* AllocAligned(size_t size, size_t align) in AllocAligned() function 420 return AllocAligned(size, align); in AllocAligned() 425 return AllocAligned(size, 1); in Alloc() 433 pAlloc = AllocAligned(size, align); in AllocAlignedSync()
|
D | binner.cpp | 1080 float *pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinTrianglesImpl() 1086 desc.pTriBuffer = (float*)pArena->AllocAligned(4 * 4 * sizeof(float), 16); in BinTrianglesImpl() 1293 … float *pAttribs = (float*)pArena->AllocAligned(3 * numScalarAttribs * sizeof(float), 16); in BinPostSetupPointsImpl() 1300 float *pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl() 1439 desc.pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinPostSetupPointsImpl() 1444 float *pTriBuffer = (float*)pArena->AllocAligned(4 * sizeof(float), 16); in BinPostSetupPointsImpl() 1753 desc.pAttribs = (float*)pArena->AllocAligned(numScalarAttribs * 3 * sizeof(float), 16); in BinPostSetupLinesImpl() 1758 desc.pTriBuffer = (float*)pArena->AllocAligned(4 * 4 * sizeof(float), 16); in BinPostSetupLinesImpl()
|
D | frontend.cpp | 1096 pGsBuffers->pGsIn = (uint8_t*)pArena->AllocAligned(vertexInBufferSize, 32); in AllocateGsBuffers() 1103 pGsBuffers->pGsOut[i] = (uint8_t*)pArena->AllocAligned(vertexBufferSize, 32); in AllocateGsBuffers() 1109 pGsBuffers->pGsTransposed = (uint8_t*)pArena->AllocAligned(transposedBufferSize, 32); in AllocateGsBuffers() 1118 …pGsBuffers->pStreamCutBuffer = (uint8_t*)pArena->AllocAligned(AlignUp(gsState.maxNumVerts * 2, 32)… in AllocateGsBuffers() 1593 pSoPrimData = (uint32_t*)pDC->pArena->AllocAligned(4096, 16); in ProcessDraw()
|
D | api.cpp | 1515 COMPUTE_DESC* pTaskData = (COMPUTE_DESC*)pDC->pArena->AllocAligned(sizeof(COMPUTE_DESC), 64); in SwrDispatch() 1625 …pState->pPrivateState = pState->pArena->AllocAligned(pContext->privateStateSize, KNOB_SIMD_WIDTH*s… in SwrGetPrivateContextState() 1647 return pDC->pState->pArena->AllocAligned(size, align); in SwrAllocDrawContextMemory()
|