From c9309b22e1146aee957f20bec07a23b3b984f686 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Thu, 4 Apr 2024 12:41:21 +0200 Subject: [PATCH] cuda: correct test to pass on most CUDA architectures Signed-off-by: deadprogram --- cuda/imgproc_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cuda/imgproc_test.go b/cuda/imgproc_test.go index 455e6200..7edc27b6 100644 --- a/cuda/imgproc_test.go +++ b/cuda/imgproc_test.go @@ -75,9 +75,6 @@ func TestHoughLines_Calc(t *testing.T) { if dest.Rows() != 2 { t.Errorf("Invalid HoughLines test rows: %v", dest.Rows()) } - if dest.Cols() != 1588 { - t.Errorf("Invalid HoughLines test cols: %v", dest.Cols()) - } expected := map[float32]float32{ 21: 1.5707964, @@ -136,9 +133,6 @@ func TestHoughLines_CalcWithStream(t *testing.T) { if dest.Rows() != 2 { t.Errorf("Invalid HoughLines test rows: %v", dest.Rows()) } - if dest.Cols() != 1588 { - t.Errorf("Invalid HoughLines test cols: %v", dest.Cols()) - } expected := map[float32]float32{ 21: 1.5707964,