From 8be91da533f991d3a9c1aa9e704b3a7364d00352 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Thu, 5 Jan 2017 13:40:54 +0100 Subject: [PATCH] Update loopy Features: * one small fix that we needed to patch for (atomicity of CallInstruction) * removes the ambiguous scheduling warning --- patches/loopy/Current.patch | 23 +++++------------------ python/loopy | 2 +- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/patches/loopy/Current.patch b/patches/loopy/Current.patch index 0709ea52..84716bae 100644 --- a/patches/loopy/Current.patch +++ b/patches/loopy/Current.patch @@ -1,12 +1,12 @@ -From 87331320981ca8f7419f32b48609e6dc465bbfff Mon Sep 17 00:00:00 2001 +From 5a5c830e505cddb0dad0532f19b6cb6b12b3265a Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> -Date: Tue, 20 Dec 2016 11:25:11 +0100 +Date: Thu, 5 Jan 2017 13:40:08 +0100 Subject: [PATCH] Current patch --- loopy/check.py | 10 +++++----- - loopy/codegen/instruction.py | 43 ++++++++++++++++++++++--------------------- - 2 files changed, 27 insertions(+), 26 deletions(-) + loopy/codegen/instruction.py | 37 +++++++++++++++++++------------------ + 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/loopy/check.py b/loopy/check.py index 7562eac..ac03be0 100644 @@ -37,7 +37,7 @@ index 7562eac..ac03be0 100644 kernel.target.pre_codegen_check(kernel) check_that_shapes_and_strides_are_arguments(kernel) diff --git a/loopy/codegen/instruction.py b/loopy/codegen/instruction.py -index c490abb..138fd6f 100644 +index 6224d97..c33d968 100644 --- a/loopy/codegen/instruction.py +++ b/loopy/codegen/instruction.py @@ -105,24 +105,25 @@ def generate_assignment_instruction_code(codegen_state, insn): @@ -84,19 +84,6 @@ index c490abb..138fd6f 100644 # }}} -@@ -219,9 +220,9 @@ def generate_call_code(codegen_state, insn): - - # {{{ vectorization handling - -- if codegen_state.vectorization_info: -- if insn.atomicity: -- raise Unvectorizable("function call") -+# if codegen_state.vectorization_info: -+# if insn.atomicity: -+# raise Unvectorizable("function call") - - # }}} - -- 2.1.4 diff --git a/python/loopy b/python/loopy index c16057b7..5a5c830e 160000 --- a/python/loopy +++ b/python/loopy @@ -1 +1 @@ -Subproject commit c16057b7c361584d04edb59132f0742ecaa38226 +Subproject commit 5a5c830e505cddb0dad0532f19b6cb6b12b3265a -- GitLab