We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a638b commit 3d47231Copy full SHA for 3d47231
pyop2/sequential.py
@@ -162,8 +162,7 @@ def code_to_compile(self):
162
iname = "n"
163
has_matrix = any(arg._is_mat for arg in self._args)
164
has_rw = any(arg.access == RW for arg in self._args)
165
- has_wg = any(isinstance(arg.data, Global) and not arg.access == READ for arg in self._args)
166
- if isinstance(self._kernel.code, loopy.LoopKernel) and not (has_matrix or has_rw or has_wg):
+ if isinstance(self._kernel.code, loopy.LoopKernel) and not (has_matrix or has_rw):
167
wrapper = loopy.inline_callable_kernel(wrapper, self._kernel.name)
168
wrapper = vectorise(wrapper, iname, configuration["simd_width"])
169
code = loopy.generate_code_v2(wrapper)
0 commit comments