CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / tests / host-trace / overhead-traced.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | note Overhead arms "off" and "on": the recorder is composed; it runs only when on is true. Each |
| 3 | note sample starts a fresh recording session (outside the timed loop) so capacity is never reached. |
| 4 | fn armopen n uint on bool to bool |
| 5 | ok = htlname |
| 6 | if on |
| 7 | ok = and ok htinit |
| 8 | end |
| 9 | ret and ok htopen n |
| 10 | end |
| 11 | fn armreset on bool to void |
| 12 | if on |
| 13 | b = htinit |
| 14 | end |
| 15 | end |
| 16 | fn armgo n uint to bool |
| 17 | ret htlaunch n |
| 18 | end |