From 0d234920670f0eb5ccb4305602e3bc2a97b2fc42 Mon Sep 17 00:00:00 2001 From: kchristin Date: Sun, 27 Oct 2024 22:05:20 +0200 Subject: [PATCH] Fix tests after master rebase --- test/CUDA/GradientKernels.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CUDA/GradientKernels.cu b/test/CUDA/GradientKernels.cu index d4385851e..92f69d92c 100644 --- a/test/CUDA/GradientKernels.cu +++ b/test/CUDA/GradientKernels.cu @@ -456,6 +456,7 @@ double fn_memory(double *out, double *in) { //CHECK-NEXT: kernel_call<<<1, 10>>>(out, in_dev); //CHECK-NEXT: cudaDeviceSynchronize(); //CHECK-NEXT: double *_d_out_host = (double *)malloc(10 * sizeof(double)); +//CHECK-NEXT: memset(_d_out_host, 0, 10 * sizeof(double)); //CHECK-NEXT: double *out_host = (double *)malloc(10 * sizeof(double)); //CHECK-NEXT: cudaMemcpy(out_host, out, 10 * sizeof(double), cudaMemcpyDeviceToHost); //CHECK-NEXT: double _d_res = 0.;