kernel mem/workgroup size functions