From 602ba503fec9a5dd69f1d932621f294e1778cde0 Mon Sep 17 00:00:00 2001 From: Randolph Settgast Date: Thu, 23 May 2024 12:03:31 -0700 Subject: [PATCH] debugging gpu test failures on ubi --- src/common/pmpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pmpl.hpp b/src/common/pmpl.hpp index 2a798b0..49f490a 100644 --- a/src/common/pmpl.hpp +++ b/src/common/pmpl.hpp @@ -136,7 +136,7 @@ void genericKernelWrapper( int const N, DATA_TYPE * & hostData, LAMBDA && func ) std::cout<<"breakpoint0.02: "<> > ( std::forward< LAMBDA >( func ), deviceData ); deviceDeviceSynchronize(); - deviceMemcpy( hostData, deviceData, N * sizeof(DATA_TYPE), cudaMemcpyDeviceToHost ); + deviceMemCpy( hostData, deviceData, N * sizeof(DATA_TYPE), cudaMemcpyDeviceToHost ); #else hostData = new DATA_TYPE[N]; genericKernel( std::forward< LAMBDA >( func ), hostData );