phrb / NODAL.jl

NODAL is an Open Distributed Autotuning Library in Julia
Other
35 stars 5 forks source link

Several thousends arguments of the function as a vector #35

Open scepeda78 opened 3 years ago

scepeda78 commented 3 years ago

How it would be the input of the configuration item, if you have like 6000 input variables? Is there a simpler way to do it, without the Dict option.

configuration = Configuration([FloatParameter(-2.0, 2.0, 0.0, "i0"),
                               FloatParameter(-2.0, 2.0, 0.0, "i1")],
                               "rosenbrock_config")
phrb commented 3 years ago

You would have to build your dictionary using a for loop, with a FloatParameter for each of your 6000 parameters