Skip to content

Commit cd3f0b7

Browse files
authored
Update ops.hip
1 parent 94c1b77 commit cd3f0b7

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

csrc/ops.hip

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ using namespace BinSearch;
2424
using std::cout;
2525
using std::endl;
2626

27-
void histogramScatterAdd2D(float* histogram, int *index1, int *index2, float *src, int maxidx1, int n)
28-
{
29-
int threads = 512;
30-
int num_blocks = n/threads;
31-
num_blocks = n % threads == 0 ? num_blocks : num_blocks + 1;
32-
hipLaunchKernelGGL(( kHistogramScatterAdd2D), dim3(num_blocks), dim3(512), 0, 0, histogram, index1, index2, src, maxidx1, n);
33-
CUDA_CHECK_RETURN(hipPeekAtLastError());
34-
}
35-
3627
template <typename T> void estimateQuantiles(T *A, float *code, float offset, int n)
3728
{
3829
int num_blocks = n/4096;

0 commit comments

Comments
 (0)