Skip to content
Snippets Groups Projects
Commit db0c5f4c authored by Kaushik Kulkarni's avatar Kaushik Kulkarni
Browse files

pt.BoundProgram already ignores unknown arguments, do not redo the ignore operations

parent 4ca0734a
No related branches found
No related tags found
No related merge requests found
...@@ -293,17 +293,6 @@ class CompiledFunction: ...@@ -293,17 +293,6 @@ class CompiledFunction:
input_kwargs_to_loopy[self.input_id_to_name_in_program[arg_id]] = arg input_kwargs_to_loopy[self.input_id_to_name_in_program[arg_id]] = arg
# {{{ the generated program might not have depended on some of the
# inputs => do not pass those to the loopy kernel
input_kwargs_to_loopy = {arg_name: arg
for arg_name, arg in input_kwargs_to_loopy.items()
if arg_name in (self.pytato_program
.program.default_entrypoint
.arg_dict)}
# }}}
evt, out_dict = self.pytato_program(queue=self.actx.queue, evt, out_dict = self.pytato_program(queue=self.actx.queue,
allocator=self.actx.allocator, allocator=self.actx.allocator,
**input_kwargs_to_loopy) **input_kwargs_to_loopy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment