Skip to content
Snippets Groups Projects

Fundamental GPU Support

Merged Frederik Hennig requested to merge fhennig/sycl into backend-rework
Compare and
11 files
+ 192
20
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -158,7 +158,7 @@ class PsConstantExpr(PsLeafMixIn, PsExpression):
@@ -158,7 +158,7 @@ class PsConstantExpr(PsLeafMixIn, PsExpression):
def __repr__(self) -> str:
def __repr__(self) -> str:
return f"PsConstantExpr({repr(self._constant)})"
return f"PsConstantExpr({repr(self._constant)})"
class PsLiteralExpr(PsLeafMixIn, PsExpression):
class PsLiteralExpr(PsLeafMixIn, PsExpression):
__match_args__ = ("literal",)
__match_args__ = ("literal",)
@@ -177,7 +177,7 @@ class PsLiteralExpr(PsLeafMixIn, PsExpression):
@@ -177,7 +177,7 @@ class PsLiteralExpr(PsLeafMixIn, PsExpression):
def clone(self) -> PsLiteralExpr:
def clone(self) -> PsLiteralExpr:
return PsLiteralExpr(self._literal)
return PsLiteralExpr(self._literal)
def structurally_equal(self, other: PsAstNode) -> bool:
def structurally_equal(self, other: PsAstNode) -> bool:
if not isinstance(other, PsLiteralExpr):
if not isinstance(other, PsLiteralExpr):
return False
return False
Loading