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

Removed unused code #194

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cub/device/dispatch/dispatch_scan.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,6 @@ struct DispatchScan:
int device_ordinal;
if (CubDebug(error = cudaGetDevice(&device_ordinal))) break;

// Get SM count
int sm_count;
if (CubDebug(error = cudaDeviceGetAttribute (&sm_count, cudaDevAttrMultiProcessorCount, device_ordinal))) break;

// Number of input tiles
int tile_size = Policy::BLOCK_THREADS * Policy::ITEMS_PER_THREAD;
int num_tiles = (num_items + tile_size - 1) / tile_size;
Expand Down