Closed jimkring closed 1 year ago
@superchromix @adrianjp88 If you can, please take a look at this PR and let me know if the code looks correct. We tried to test (after my last change to GPUData::init to write constraints at the current chunk) and are now getting an invalid input/argument error when trying to pass constraints for each fit. Thanks!
This bug should be fixed in c65c867b4528ddbf3ed6af6428f589fb93fb972d. Thanks for looking into this.
Fantastic! Thanks for your assistance getting this fixed @gpufit
I've made the proposed change mentioned here in Issue https://github.com/gpufit/Gpufit/issues/105, adding the missing
fit_index * n_parameters
factor needed when indexing into theconstraints
array.