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