Skip to content

Commit b567e02

Browse files
author
Anudeep Kambapu
authored
Merge pull request #35 from oneapi-src/cudaSift_patch
[Cudasift] Used LowPassBlock instead of LowPassBlockOld
2 parents 13da092 + 62a53e6 commit b567e02

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cudaSift/CUDA/cudaSiftH.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ double LowPass(CudaImage &res, CudaImage &src, float scale, float &totTime)
502502
#ifdef DEVICE_TIMER
503503
auto start_kernel = std::chrono::steady_clock::now();
504504
#endif
505-
LowPassBlockOld<<<blocks, threads>>>(src.d_data, res.d_data, width, pitch, height);
505+
LowPassBlock<<<blocks, threads>>>(src.d_data, res.d_data, width, pitch, height);
506506
safeCall(cudaDeviceSynchronize());
507507
#ifdef DEVICE_TIMER
508508
auto stop_kernel = std::chrono::steady_clock::now();

cudaSift/HIP/cudaSiftH.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ double LowPass(CudaImage &res, CudaImage &src, float scale, float &totTime)
552552
#ifdef DEVICE_TIMER
553553
auto start_kernel = std::chrono::steady_clock::now();
554554
#endif
555-
hipLaunchKernelGGL(LowPassBlockOld, blocks, threads, 0, 0, src.d_data, res.d_data, width, pitch, height);
555+
hipLaunchKernelGGL(LowPassBlock, blocks, threads, 0, 0, src.d_data, res.d_data, width, pitch, height);
556556
hipDeviceSynchronize();
557557

558558
#ifdef DEVICE_TIMER

cudaSift/SYCL/cudaSiftH.dp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ double LowPass(CudaImage &res, CudaImage &src, float scale, sycl::queue &q_ct, f
679679
#if !defined(USE_NVIDIA_BACKEND) && !defined(USE_AMDHIP_BACKEND)
680680
[[intel::reqd_sub_group_size(32)]]
681681
#endif
682-
{ LowPassBlockOld(src_data_ct1, res_data_ct1, width, pitch, height, item_ct1,
682+
{ LowPassBlock(src_data_ct1, res_data_ct1, width, pitch, height, item_ct1,
683683
d_LowPassKernel_ptr_ct1, xrows_acc_ct1); }); })
684684
.wait();
685685
#ifdef DEVICE_TIMER

0 commit comments

Comments
 (0)