From 49a81d6fbab74b6a02fc3d58772f6af1aef76d0c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 26 Aug 2021 06:30:16 -0400 Subject: [PATCH] silence compiler warnings --- lib/gpu/geryon/ocl_timer.h | 1 - lib/gpu/geryon/ucl_d_vec.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/gpu/geryon/ocl_timer.h b/lib/gpu/geryon/ocl_timer.h index ca74312d51..71efe2d2c0 100644 --- a/lib/gpu/geryon/ocl_timer.h +++ b/lib/gpu/geryon/ocl_timer.h @@ -139,7 +139,6 @@ class UCL_Timer { cl_event start_event, stop_event; cl_command_queue _cq; double _total_time; - double t_factor; bool _initialized; bool has_measured_time; }; diff --git a/lib/gpu/geryon/ucl_d_vec.h b/lib/gpu/geryon/ucl_d_vec.h index e791f18f29..6c10568f86 100644 --- a/lib/gpu/geryon/ucl_d_vec.h +++ b/lib/gpu/geryon/ucl_d_vec.h @@ -39,7 +39,7 @@ class UCL_D_Vec : public UCL_BaseMat { }; typedef numtyp data_type; - UCL_D_Vec() : _cols(0), _row_bytes(0) {} + UCL_D_Vec() : _row_bytes(0), _cols(0) {} ~UCL_D_Vec() { _device_free(*this); } /// Construct with n columns