• Home
  • Raw
  • Download

Lines Matching refs:threadsPerGroup

1422 void getLaunchVals(int &threadsPerGroup, int &num_groups, int ConstWGSize,  in getLaunchVals()  argument
1443 fprintf(stderr, "threadsPerGroup: %d\n", threadsPerGroup); in getLaunchVals()
1448 threadsPerGroup = thread_limit; in getLaunchVals()
1451 threadsPerGroup += RTLDeviceInfoTy::Warp_Size; in getLaunchVals()
1454 if (threadsPerGroup > RTLDeviceInfoTy::Max_WG_Size) { // limit to max in getLaunchVals()
1455 threadsPerGroup = RTLDeviceInfoTy::Max_WG_Size; in getLaunchVals()
1456 DP("Setting threads per block to maximum %d\n", threadsPerGroup); in getLaunchVals()
1460 if (threadsPerGroup > ConstWGSize) { in getLaunchVals()
1461 threadsPerGroup = ConstWGSize; in getLaunchVals()
1463 threadsPerGroup); in getLaunchVals()
1466 fprintf(stderr, "threadsPerGroup: %d\n", threadsPerGroup); in getLaunchVals()
1467 DP("Preparing %d threads\n", threadsPerGroup); in getLaunchVals()
1488 if (threadsPerGroup > in getLaunchVals()
1492 num_groups = (Max_Teams * RTLDeviceInfoTy::Max_WG_Size) / threadsPerGroup; in getLaunchVals()
1518 num_groups = ((loop_tripcount - 1) / threadsPerGroup) + 1; in getLaunchVals()
1524 num_groups, loop_tripcount, threadsPerGroup); in getLaunchVals()
1552 fprintf(stderr, "threadsPerGroup: %d\n", threadsPerGroup); in getLaunchVals()
1557 threadsPerGroup); in getLaunchVals()
1621 int threadsPerGroup = RTLDeviceInfoTy::Default_WG_Size; in __tgt_rtl_run_target_team_region_locked() local
1623 getLaunchVals(threadsPerGroup, num_groups, KernelInfo->ConstWGSize, in __tgt_rtl_run_target_team_region_locked()
1637 arg_num, num_groups, threadsPerGroup, num_teams, thread_limit, in __tgt_rtl_run_target_team_region_locked()
1652 packet->workgroup_size_x = threadsPerGroup; in __tgt_rtl_run_target_team_region_locked()
1656 packet->grid_size_x = num_groups * threadsPerGroup; in __tgt_rtl_run_target_team_region_locked()