Merge branch 'master' into cmakelist_rewrite_and_C_API_conformity_07-26

This commit is contained in:
jpekkila
2019-08-06 15:14:33 +03:00
2 changed files with 9 additions and 6 deletions

View File

@@ -671,7 +671,7 @@ read_out(const int idx, AcReal* __restrict__ field[], const int3 handle)
}
#define WRITE_OUT(handle, value) (write(buffer.out, handle, idx, value))
#define READ(handle) (read_data(vertexIdx, buffer.in, handle))
#define READ(handle) (read_data(vertexIdx, globalVertexIdx, buffer.in, handle))
#define READ_OUT(handle) (read_out(idx, buffer.out, handle))
// also write for clarity here also, not for the DSL