Skip to content
Snippets Groups Projects
Commit b9dffbcf authored by Daniel Bauer's avatar Daniel Bauer :speech_balloon:
Browse files

remove unused imports

parent d6e4bfd8
No related branches found
No related tags found
1 merge request!39Pystencils 2.0
...@@ -15,14 +15,12 @@ ...@@ -15,14 +15,12 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
import enum import enum
from typing import Dict, Iterable, List, Tuple, Union from typing import Dict, Iterable, List, Tuple
import poly_cse_py.sympy_interface as poly_cse import poly_cse_py.sympy_interface as poly_cse
import pystencils as ps
import sympy as sp import sympy as sp
import hog.ast import hog.ast
from hog.exception import HOGException
class CseImplementation(enum.Enum): class CseImplementation(enum.Enum):
......
...@@ -20,12 +20,7 @@ from typing import List, Tuple, Set, Union ...@@ -20,12 +20,7 @@ from typing import List, Tuple, Set, Union
import pystencils as ps import pystencils as ps
from pystencils import Field from pystencils import Field
from pystencils.backend.ast import PsAstNode from pystencils.backend.ast import PsAstNode
from pystencils.backend.ast.expressions import ( from pystencils.backend.ast.expressions import PsCast, PsExpression, PsLookup
PsArrayInitList,
PsCast,
PsExpression,
PsLookup,
)
from pystencils.backend.ast.structural import PsDeclaration from pystencils.backend.ast.structural import PsDeclaration
from pystencils.backend.functions import CFunction from pystencils.backend.functions import CFunction
from pystencils.backend.kernelcreation import FreezeExpressions, KernelCreationContext from pystencils.backend.kernelcreation import FreezeExpressions, KernelCreationContext
......
...@@ -25,7 +25,6 @@ from sympy.codegen.ast import Assignment ...@@ -25,7 +25,6 @@ from sympy.codegen.ast import Assignment
from pystencils import AssignmentCollection from pystencils import AssignmentCollection
from pystencils.backend.ast import PsAstNode from pystencils.backend.ast import PsAstNode
from pystencils.backend.ast.expressions import ( from pystencils.backend.ast.expressions import (
PsArrayInitList,
PsCast, PsCast,
PsExpression, PsExpression,
PsLookup, PsLookup,
......
...@@ -28,7 +28,7 @@ involves balancing cache reuse and working set size. ...@@ -28,7 +28,7 @@ involves balancing cache reuse and working set size.
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
import sympy as sp import sympy as sp
from typing import Dict, List, Type, Union from typing import Dict, List, Union
from pystencils.backend.constants import PsConstant from pystencils.backend.constants import PsConstant
from pystencils.backend.ast.expressions import PsExpression from pystencils.backend.ast.expressions import PsExpression
......
...@@ -14,10 +14,9 @@ ...@@ -14,10 +14,9 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
from typing import Dict, List, Tuple, Union from typing import Dict, List, Union
from pystencils import Field, FieldType from pystencils import Field, FieldType
from pystencils.backend.ast import PsAstNode
from pystencils.backend.ast.structural import PsBlock, PsLoop from pystencils.backend.ast.structural import PsBlock, PsLoop
from pystencils.backend.kernelcreation import AstFactory, KernelCreationContext from pystencils.backend.kernelcreation import AstFactory, KernelCreationContext
from pystencils.defaults import DEFAULTS from pystencils.defaults import DEFAULTS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment