diff --git a/loopy/program.py b/loopy/program.py index e41d3830e37e717b0983feeabbfeca044cd759f7..bb5b9b1aca54137ded259ccc812f8ba7430ee13b 100644 --- a/loopy/program.py +++ b/loopy/program.py @@ -349,6 +349,9 @@ def rename_resolved_functions_in_a_single_kernel(kernel, # {{{ program callables info class ProgramCallablesInfo(ImmutableRecord): + # FIXME: dont evalutate num_times_called, rahter compute it from the + # resolved_functions + # FIXME: make the edit callables thing a ContextManager. def __init__(self, resolved_functions, num_times_callables_called=None, history=None, is_being_edited=False, num_times_hit_during_editing={}, diff --git a/loopy/statistics.py b/loopy/statistics.py index 6a9744a06662a340f0f288659edbe82a79644ec1..74cd1bc710bc3be35acc420e56074ad1139c6dfa 100755 --- a/loopy/statistics.py +++ b/loopy/statistics.py @@ -65,6 +65,8 @@ __doc__ = """ # - The variable name, what if multiple kernels use the same name? # - We should also add the cumulative effect on the arguments of callee kernels # into the caller kernel. +# FIXME: add an error that there is only one callable kernel. disable for +# multiple callable kernels. # {{{ GuardedPwQPolynomial