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 / learn53 / moe-series-export.om

27 lines · 473 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note HOST_ONLY raw digests: router code/launch count2, combine code/launch count128.
3fn main to int
4m = new ulong 8 0
5hashes = new uchar 4096 0
6ord = new ulong 128 0
7h = new uchar 32 0
8for i ulong 2
9n = ulong 2
10if eq i 1
11n = 128
12end
13for j ulong 2
14ms_fill edit m edit hashes edit ord n j
15if eq i 1
16put m 3 5
17end
18if ne mc_series m hashes ord edit h 0
19ret 2
20end
21if ne write 1 h 0 32 32
22ret 74
23end
24end
25end
26ret 0
27end