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 / om / apirest / pfcopy.om

21 lines · 369 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2fn arpfcopy q view ulong 4 w view uchar * y edit uchar * to ulong
3for p ulong 4294967296
4if ge p get q 0
5break
6end
7src = p
8if eq get q 2 1
9src = swsrc uint p uint get q 0
10end
11a = mul src get q 1
12b = mul p get q 1
13for c ulong 4294967296
14if ge c get q 1
15break
16end
17put y add b c get w add a c
18end
19end
20ret 0
21end