This commit is contained in:
jan 2016-07-04 19:31:05 -07:00
parent d12ce6c957
commit 03f7f6d3c4

View File

@ -123,7 +123,7 @@ def create_a(context, shape, mu=False, pec=False, pmc=False):
operation=e2h_source,
arguments=', '.join(ptrs('E', 'H', 'inv_mu') + pmc_arg + des))
h2e_source = jinja_env.get_template('h2e.cl').render(pmc=pec,
h2e_source = jinja_env.get_template('h2e.cl').render(pmc=pmc,
dixyz_source=header,
vec_source=vec_h)
H2E_kernel = ElementwiseKernel(context,