aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.h
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-05-05 23:46:02 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-05-05 23:46:02 +1200
commit989c3e973f18e6533da414384ef0add95c692b89 (patch)
treea90e87846cae6360934e60f7746909f4732eb8d3 /fractal-gen.h
parent48afaed1c5bf9b921ffde00fd105658bec539fbf (diff)
downloadfractal-gen-989c3e973f18e6533da414384ef0add95c692b89.tar.xz
Invert load sharing for thread vs cluster node
Rows are divided between cluster nodes and columns between threads. This is a major change for anyone using this in a cluster, but it was done so to enable the frame interlacer to use buffered reads and writes.
Diffstat (limited to 'fractal-gen.h')
-rw-r--r--fractal-gen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fractal-gen.h b/fractal-gen.h
index 392f43a..9c9a768 100644
--- a/fractal-gen.h
+++ b/fractal-gen.h
@@ -32,6 +32,7 @@ typedef struct
{
volatile unsigned long idx;
unsigned long core;
+ unsigned long width;
unsigned long datasize;
char* data;
pthread_t thread;