aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/kernel.mako3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/kernel.mako b/template/kernel.mako
index ceb7a7a..00a4345 100644
--- a/template/kernel.mako
+++ b/template/kernel.mako
@@ -38,7 +38,8 @@ def neighbor_offset(c_i):
__kernel void collide_and_stream(__global __write_only ${float_type}* f_next,
__global __read_only ${float_type}* f_prev,
- __global __read_only int* material)
+ __global __read_only int* material,
+ unsigned int time)
{
const unsigned int gid = ${gid()};