From a62559ebee0b8dcc3116871d531fbb94b14a3ecf Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 6 Apr 2015 14:55:12 -0500 Subject: [PATCH] Code formatting --- loopy/codegen/instruction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/codegen/instruction.py b/loopy/codegen/instruction.py index ca1cce69c..1bd977f3e 100644 --- a/loopy/codegen/instruction.py +++ b/loopy/codegen/instruction.py @@ -36,7 +36,6 @@ def wrap_in_conditionals(codegen_state, domain, check_inames, required_preds, st bounds_checks = get_bounds_checks( domain, check_inames, codegen_state.implemented_domain, overapproximate=False) - bounds_check_set = isl.Set.universe(domain.get_space()) \ .add_constraints(bounds_checks) bounds_check_set, new_implemented_domain = isl.align_two( @@ -70,6 +69,7 @@ def generate_instruction_code(kernel, insn, codegen_state): raise RuntimeError("unexpected instruction type") insn_inames = kernel.insn_inames(insn) + insn_code, impl_domain = wrap_in_conditionals( codegen_state, kernel.get_inames_domain(insn_inames), insn_inames, -- GitLab