interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / tests / device-trace / golden-test.om

23 lines · 419 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Compose with trace.om. Emit a synthetic complete capture for golden-byte comparison.
3fn main to int
4if not gtinit 7 11 13 2 3 1
5ret 1
6end
7if ne gtappend 7 17 2 224 4294967295 19 0
8ret 2
9end
10if ne gtappend 7 17 3 224 0 23 0
11ret 3
12end
13if not gtfinish 1
14ret 4
15end
16if not gtvalidate 192 7 11 13
17ret 5
18end
19if ne write 1 gtbytes 0 192 192
20ret 6
21end
22ret 0
23end