EmeraldShift / fdtd-norl

A barebones FDTD implementation using pthreads & libvl
0 stars 1 forks source link

Set thread affinity #1

Open BamboWu opened 3 years ago

BamboWu commented 3 years ago

https://github.com/EmeraldShift/fdtd-norl/blob/a0c6ce2aa5ca009100fcdd4ff64e7ad22c4cd36b/src/fdtd.cpp#L59

I think here it supposed to be CPU_SET(i, &cpusets[i]);.

EmeraldShift commented 3 years ago

Good catch, thanks!