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 / api / attn_touch.om

11 lines · 265 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2fn av_touch ids view uint 1000000 slots view uint * touched edit uint * g ulong to ulong
3for j ulong len ids
4id = get ids j
5idx = ulong get slots ulong id
6if ge idx g
7put touched idx id
8end
9end
10ret 0
11end