Context Navigation


Changeset 126 for docs/trunk


Ignore:
Timestamp:
Dec 23, 2007, 9:09:43 PM (18 years ago)
Author:
neil.c.c.brown
Message:

Added more explanation slides near the beginning, and tidied up some of the TODO notices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/trunk/omega-test-slides/omega-test.tex

    r125 r126
    6666can we determine if this is safe:
    6767\begin{lstlisting}
    68(追記) [10]INT a: (追記ここまで)
    6869PAR
    69 a[p(削除) (削除ここまで)] := 7
    70 a[p(追記) + (3 * r) (追記ここまで)] := 7
    7071 a[p + q] := 8
    7172 a[p - q + r] := 9
    7374\end{frame}
    7475
    75%TODO remember to point out that each pair is a different problem
    76
    77%TODO point out no solution = safe, solution = unsafe
    76\begin{frame}[fragile]
    77\frametitle{Parallel Usage}
    78\begin{lstlisting}
    79[10]INT a:
    80PAR
    81 a[p + (3 * r)] := 7
    82 a[p + q] := 8
    83 a[p - q + r] := 9
    84\end{lstlisting}
    85Phrase as mathematical problems. Is there a solution to any of:
    86
    87%TODO tidy up the formatting here
    88
    89$p + 3r = p + q,ドル 0ドル \leq p + 3r \leq 9,ドル 0ドル \leq p + q \leq 9$
    90
    91$p + 3r = p - q + r,ドル 0ドル \leq p + 3r \leq 9,ドル 0ドル \leq p - q + r \leq 9$
    92
    93$p + q = p - q + r,ドル 0ドル \leq p + q \leq 9,ドル 0ドル \leq p - q + r \leq 9$
    94
    95\note{We are checking if any of array indexes can be equal to each other.
    96 Note that we must check each possible pairing.
    97 No solution to any of the equations means the indexes are disjoint, and
    98 hence the access is safe. If there is a solution to any of them, the
    99 access is unsafe}
    100
    101\end{frame}
    78102
    79103%TODO mention occam STOPping on integer overflow and array out of bounds being very useful
    420444\end{frame}
    421445
    422(削除) %TODO probably best shown in two dimensions (削除ここまで)
    423(削除) (削除ここまで)
    424(削除) (削除ここまで)
    425(削除) %TODO show tightening inequalities during normalisation. Maybe show two normalising to an equality? (削除ここまで)
    426(削除) (削除ここまで)
    427(削除) %TODO show a triangle of inequalities, then demonstrate projecting this onto one dimension: (削除ここまで)
    428446
    429447% 2y <= 17 - 5x, 2y <= 3x + 1, 2y >= 5
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /