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/tests/regalloc_om/liveness.c # 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 / tests / regalloc_om / liveness.c` 40 lines · 1943 bytes Raw Blame History 1 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 2 #include "omega_gpu_om_ir.h" 3 #include 4 #include 5 static uint32_t emit(uint64_t *ret,uint64_t kind,uint64_t a,uint64_t b,uint64_t c,void *ip,uint64_t ni,void *mp,uint64_t nm) { 6 (void)a;(void)b;(void)c; 7 if(ni!=8192 || nm!=512) return 1; 8 uint64_t *i=ip,*m=mp; 9 m[0]=4;m[1]=kind==5?161:160;m[7]=kind==0?0:kind==2?2:1; 10 for(unsigned v=0;v