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 / cache / lease.om

9 lines · 393 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Concatenate residency.om and runtime.om before this final native lease root.
3note tok4 is retained lease epoch; req0 is current existing session epoch.
4fn native_lease p edit ulong 528 req view ulong 16 tok view ulong 16 op ulong to long
5if or ne get tok 4 get req 0 eq get tok 1 0
6ret -1
7end
8ret native_cache p req tok op
9end