Skip to content

Conversation

@inversed-ru
Copy link

Parallel evaluation implemented with TheadsX. Quick test:

using Random: bitrand
using LinearAlgebra: dot
using NSGAII

n = 1_000_000;
c1 = randn(n);
c2 = randn(n);
init() = bitrand(n)
z(x) = dot(x, c1), dot(x, c2)
@time nsga_max(300, 30, z, init);

1 thread 64.1 s., 16 threads 5.27 s., 12.2X speedup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant