Objective function evaluation on GPU working ok.
Analytical method for parameter fine-tuning working only when the CPU is used.-