silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-08-26 06:30:16 -04:00
parent c7357d5731
commit 49a81d6fba
2 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,6 @@ class UCL_Timer {
cl_event start_event, stop_event; cl_event start_event, stop_event;
cl_command_queue _cq; cl_command_queue _cq;
double _total_time; double _total_time;
double t_factor;
bool _initialized; bool _initialized;
bool has_measured_time; bool has_measured_time;
}; };

View File

@ -39,7 +39,7 @@ class UCL_D_Vec : public UCL_BaseMat {
}; };
typedef numtyp data_type; 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); } ~UCL_D_Vec() { _device_free(*this); }
/// Construct with n columns /// Construct with n columns