Skip to content
Snippets Groups Projects

Various extensions to the vectorizer

Merged Daniel Bauer requested to merge hyteg/pystencils:bauerd/vec-extensions into v2.0-dev
All threads resolved!
Viewing commit 67cbb8d6
Show latest version
2 files
+ 2
2
Preferences
Compare changes
Files
2
@@ -162,7 +162,7 @@ class X86VectorCpu(GenericVectorCpu):
case PsUnOp() | PsBinOp():
func = _x86_op_intrin(self._vector_arch, expr, expr.get_dtype())
intrinsic = func(*operands)
intrinsic.dtype = expr.dtype
intrinsic.dtype = func.return_type
return intrinsic
case _:
raise MaterializationError(f"Cannot map {type(expr)} to x86 intrinsic")