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/om/apirest/segok.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 / om / apirest / segok.om` 17 lines · 325 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 fn arsegok n uint cnt uint e view uint 4 sc view f32 4 to ulong 3 if ne segend 0 cnt 1 1 0 0 4 ret 0 5 end 6 prev = uint 0 7 for i ulong ulong cnt 8 if eq finite bitcast uint get sc i 0 9 ret 0 10 end 11 if ne segend uint i cnt n get e i prev 0 12 ret 0 13 end 14 prev = get e i 15 end 16 ret 1 17 end