From 0264ff685af5be68a7a3d6bd696c341362e48a8f Mon Sep 17 00:00:00 2001 From: Matt Pulver Date: Tue, 26 Jan 2021 10:35:45 -0500 Subject: [PATCH] Fix GpuSharedMemoryTest compiler warning --- Tests/GpuSharedMemoryTest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/GpuSharedMemoryTest.h b/Tests/GpuSharedMemoryTest.h index 5c778ef7db..b197127a6b 100644 --- a/Tests/GpuSharedMemoryTest.h +++ b/Tests/GpuSharedMemoryTest.h @@ -41,7 +41,7 @@ class StrideNumberGenerator : public NumberGenerator { public: StrideNumberGenerator(const int64_t start, const int64_t stride) - : crt_(start), stride_(stride) {} + : crt_(start), stride_(stride), start_(start) {} int64_t getNextValue() override { const auto crt = crt_; @@ -78,4 +78,4 @@ class GpuReductionTester : public GpuSharedMemCodeBuilder { private: CudaMgr_Namespace::CudaMgr* cuda_mgr_; llvm::Function* wrapper_kernel_; -}; \ No newline at end of file +};