uint exec_pos;
double exec_ms[EXEC_CACHE];
+ // workaround cpu spinning
+
+ double exec_us_prev1[EXPECTED_ITERATIONS];
+ double exec_us_prev2[EXPECTED_ITERATIONS];
+ double exec_us_prev3[EXPECTED_ITERATIONS];
+
// this is "current" speed
uint speed_pos;
bool opencl_v12;
+ double nvidia_spin_damp;
+
cl_uint device_vendor_id;
cl_uint platform_vendor_id;
#ifdef HAVE_HWMON
typedef struct
{
- HM_ADAPTER_ADL adl;
- HM_ADAPTER_NVML nvml;
- HM_ADAPTER_NVAPI nvapi;
+ HM_ADAPTER_ADL adl;
+ HM_ADAPTER_NVML nvml;
+ HM_ADAPTER_NVAPI nvapi;
+ HM_ADAPTER_XNVCTRL xnvctrl;
int od_version;
void *hm_adl;
void *hm_nvml;
void *hm_nvapi;
+ void *hm_xnvctrl;
hm_attrs_t hm_device[DEVICES_MAX];
#endif
uint quiet;
uint force;
uint benchmark;
- uint benchmark_repeats;
uint runtime;
uint remove;
uint remove_timer;