From bcc087a36ea7d84ac61a2c756458a208f6bc3ff3 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 25 Jul 2019 20:59:06 +0200 Subject: Dampen channel inflow --- template/kernel.mako | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/kernel.mako') 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()}; -- cgit v1.2.3