| 287 | } |
| 288 | |
| 289 | void nu_smo_solve(const SyncArray<int> &y, SyncArray<float_type> &f_val, SyncArray<float_type> &alpha, |
| 290 | SyncArray<float_type> &alpha_diff, |
| 291 | const SyncArray<int> &working_set, float_type C, const SyncArray<kernel_type> &k_mat_rows, |
| 292 | const SyncArray<kernel_type> &k_mat_diag, int row_len, float_type eps, |
| 293 | SyncArray<float_type> &diff, |
| 294 | int max_iter) { |
| 295 | nu_smo_solve_kernel(y.host_data(), f_val.host_data(), alpha.host_data(), alpha_diff.host_data(), |
| 296 | working_set.host_data(), working_set.size(), C, k_mat_rows.host_data(), |
| 297 | k_mat_diag.host_data(), row_len, eps, diff.host_data(), max_iter); |
| 298 | } |
| 299 | |
| 300 | void |
| 301 | update_f(SyncArray<float_type> &f, const SyncArray<float_type> &alpha_diff, |
no test coverage detected