<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define SUPER_TASK_THREADING[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#666666]//Number of[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 4[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 6[/COLOR]
When you look at Nimbles code and see this
Code:<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define SUPER_TASK_THREADING[/COLOR] <li style="font-weight: normal; vertical-align: top;">[COLOR=#666666]//Number of[/COLOR] <li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 4[/COLOR]
Am i right in thinking that for a 980x, which is 6 cores 12 threads,
Code:<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 6[/COLOR]
Would be even quicker ?
Also after having gone through mine and other's code a few times there have been a few "Oh, I could've done that!" moments, particularly in terms of memoizing the Collatz sequence generation - I mean I did give that a go, but the ways in which I tried to implement it tended to do more harm than good. As an exercise to myself I shall try to implement it properly. Also that I forgot to finish writing some of my comments.![]()