Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
blev grid size with oversubscription factor
Browse files Browse the repository at this point in the history
  • Loading branch information
elstehle committed Dec 23, 2022
1 parent a16d905 commit f321135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cub/device/dispatch/dispatch_batch_memcpy.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@ struct DispatchBatchMemcpy : SelectedPolicy
return error;
}

int batch_memcpy_blev_grid_size = static_cast<int>(sm_count * batch_memcpy_blev_occupancy);
int batch_memcpy_blev_grid_size =
static_cast<int>(sm_count * batch_memcpy_blev_occupancy * CUB_SUBSCRIPTION_FACTOR(0));

// Construct the tile status for the buffer prefix sum
BLevBufferOffsetTileState buffer_scan_tile_state;
Expand Down

0 comments on commit f321135

Please sign in to comment.