Skip to content

Commit e9f0af3

Browse files
committed
Remove unused WARP_SIZE definitions
1 parent 1c94701 commit e9f0af3

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

csrc/kernels.hip

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2057,11 +2057,6 @@ __global__ void kdequant_mm_int32_fp16(
20572057
#define DENORM 1.0f/127.0f
20582058
#define MAX_SPARSE_COUNT 32
20592059
#define SMEM_SIZE 8*256
2060-
#if defined(__GFX9__)
2061-
#define WARP_SIZE 64
2062-
#else
2063-
#define WARP_SIZE 32
2064-
#endif
20652060
template <typename T, int SPMM_ITEMS, int BITS>
20662061
__global__ void kspmm_coo_very_sparse_naive(int *max_count, int *max_idx, int *offset_rowidx, int *rowidx, int *colidx, half *values, T *B, half *out, float * __restrict__ const dequant_stats, int nnz, int rowsA, int rowsB, int colsB)
20672062
{

csrc/ops.hip

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@
2121

2222
#define ERR_NOT_IMPLEMENTED 100
2323

24-
#if defined(__GFX9__)
25-
#define WARP_SIZE 64
26-
#else
27-
#define WARP_SIZE 32
28-
#endif
29-
3024
using namespace BinSearch;
3125
using std::cout;
3226
using std::endl;

0 commit comments

Comments
 (0)