Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp321 unsigned WorkGroupsPerCu = getMaxWorkGroupsPerCU(WorkGroupSize); in getMaxLocalMemSizeWithWaveCount() local
322 if (!WorkGroupsPerCu) in getMaxLocalMemSizeWithWaveCount()
325 return getLocalMemorySize() * MaxWaves / WorkGroupsPerCu / NWaves; in getMaxLocalMemSizeWithWaveCount()
331 unsigned WorkGroupsPerCu = getMaxWorkGroupsPerCU(WorkGroupSize); in getOccupancyWithLocalMemSize() local
332 if (!WorkGroupsPerCu) in getOccupancyWithLocalMemSize()
335 unsigned Limit = getLocalMemorySize() * MaxWaves / WorkGroupsPerCu; in getOccupancyWithLocalMemSize()