Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/tests/host-trace/fakedev.om # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / tests / host-trace / fakedev.om` 15 lines · 651 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note HOST STAND-IN device step for tests/host-trace/fakenv.om; compose after launch.om. It computes 3 note the VECTOR_1D result on the CPU (c = a + b mod 2^32 over gbargs 6 elements) and writes the two 4 note completion marks and the queue value that gblaunch checks. Not a GPU observation. 5 fn fkdev mark uint to void 6 n = ulong get gbargs 6 7 for i ulong n 8 a = mapget get gbmem 5 mul i 4 4 9 b = mapget get gbmem 6 mul i 4 4 10 r = mapset get gbmem 7 mul i 4 4 and add a b `4294967295` 11 end 12 r = mapset get gbmem 3 0 4 ulong mark 13 r = mapset get gbmem 2 8192 4 6 14 r = mapset get gbmem 3 16 4 `1179010630` 15 end