diff --git a/src/pystencils/alignedarray.py b/src/pystencils/alignedarray.py index 32cc4dc839d6be837cf47d2e5264fb768626b618..4e315af787b4b988d3d523c5098c97c02e6f5205 100644 --- a/src/pystencils/alignedarray.py +++ b/src/pystencils/alignedarray.py @@ -22,7 +22,7 @@ def aligned_empty(shape, byte_alignment=True, dtype=np.float64, byte_offset=0, o # get_vector_instruction_set) # instruction_sets = get_supported_instruction_sets() - # TODO fix this + # TODO `get_supported_instruction_sets` has to be reimplemented instruction_sets = None if instruction_sets is None: byte_alignment = 64 diff --git a/src/pystencils/display_utils.py b/src/pystencils/display_utils.py index 0543c925908decaf460446bf31ac727759f5499b..7f110c9c06f97fd37f17e734f5501f856216e56f 100644 --- a/src/pystencils/display_utils.py +++ b/src/pystencils/display_utils.py @@ -24,7 +24,7 @@ def to_dot(expr: sp.Expr, graph_style: Optional[Dict[str, Any]] = None, short=Tr from sympy.printing.dot import dotprint return graphviz.Source(dotprint(expr, graph_attr=graph_style)) else: - # TODO nbackend + # TODO Implement dot / graphviz exporter for new backend AST raise NotImplementedError("Printing of AST nodes for the new backend is not implemented yet") diff --git a/src/pystencils/sympyextensions/integer_functions.py b/src/pystencils/sympyextensions/integer_functions.py index a683c528c8a999efa8fbc6a534f864e27491ced4..eb3bb4ccc79d06d54e320bb0b442ea7dad1c670a 100644 --- a/src/pystencils/sympyextensions/integer_functions.py +++ b/src/pystencils/sympyextensions/integer_functions.py @@ -78,8 +78,6 @@ class modulo_floor(sp.Function): 8 >>> modulo_floor(12, 4) 12 - >>> from pystencils import TypedSymbol - >>> a, b = TypedSymbol("a", "int64"), TypedSymbol("b", "int32") """ nargs = 2 is_integer = True @@ -109,8 +107,6 @@ class modulo_ceil(sp.Function): 12 >>> modulo_ceil(12, 4) 12 - >>> from pystencils import TypedSymbol - >>> a, b = TypedSymbol("a", "int64"), TypedSymbol("b", "int32") """ nargs = 2 is_integer = True @@ -138,8 +134,6 @@ class div_ceil(sp.Function): 3 >>> div_ceil(8, 4) 2 - >>> from pystencils import TypedSymbol - >>> a, b = TypedSymbol("a", "int64"), TypedSymbol("b", "int32") """ nargs = 2 is_integer = True @@ -167,8 +161,6 @@ class div_floor(sp.Function): 2 >>> div_floor(8, 4) 2 - >>> from pystencils import TypedSymbol - >>> a, b = TypedSymbol("a", "int64"), TypedSymbol("b", "int32") """ nargs = 2 is_integer = True