These are chat archives for uwhpsc-2016/uwhpsc-2016
trapzis outweighing the computational cost. That is, threads don't spend enough time computing before movign on to the next bit of work.
repeat=5ish and take the min of those runs.
integrate.cfiles, originally, every function ends with
return 0.0. Should we change that to return the results of the function?
return 0.0;to remind you that the functions are supposed to return something. (As opposed to "return by reference")
fvalsis not a keyword argument. That is, pass in your
ydata like so:
time_simps_parallel_chunked(y, x, num_threads=p, ...)
setto store the process numbers. Change that to a
list, instead. I can't recall exactly right now but I don't think sets are positional, either.
procs = [1, 2, 4, 8, 16, 32]