Skip to content

Commit

Permalink
Fix GpuSharedMemoryTest compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpulver authored and andrewseidl committed Jan 26, 2021
1 parent 3a86f6e commit 0264ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/GpuSharedMemoryTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down Expand Up @@ -78,4 +78,4 @@ class GpuReductionTester : public GpuSharedMemCodeBuilder {
private:
CudaMgr_Namespace::CudaMgr* cuda_mgr_;
llvm::Function* wrapper_kernel_;
};
};

0 comments on commit 0264ff6

Please sign in to comment.