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/native/abft/sched.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 / native / abft / sched.om` 68 lines · 1222 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note CUDApp#55 schedule perturbation admission. The evaluator validates every frozen row before any 3 note fork; a refused row never runs. Reason codes (docs/abft/CONTRACT.md section 7): 4 note 0 accepted, 1 unknown policy, 2 target worker out of range, 3 atomic site unsupported (69), 5 note 4 device instruction-stream site unsupported: no qualified delay opcode (69), 6 note 5 wait removal without the known-bad control label, 6 shape or worker bounds, 7 transposed index 7 note fault on a non-square shape, 8 delay policy without a site, 9 hang control with one worker. 8 fn sreason to ulong 9 m = kf KM 10 n = kf KN 11 k = kf KK 12 w = kf KW 13 if gt kf KPOL 3 14 ret 1 15 end 16 if ge kf KPOL 2 17 if ge kf KTGT w 18 ret 2 19 end 20 end 21 if eq kf KSITE 4 22 ret 3 23 end 24 if gt kf KSITE 4 25 ret 4 26 end 27 if eq kf KFLT 5 28 if eq and kf KFLG 2 0 29 ret 5 30 end 31 end 32 if or eq w 0 gt w 64 33 ret 6 34 end 35 if or or eq m 0 gt m 256 or eq n 0 gt n 256 36 ret 6 37 end 38 if or eq k 0 gt k 256 39 ret 6 40 end 41 if fis 4 2 42 if ne n k 43 ret 7 44 end 45 end 46 if eq kf KPOL 3 47 if eq kf KSITE 0 48 ret 8 49 end 50 end 51 if eq kf KFLT 5 52 if eq kf KSUB 4 53 if lt w 2 54 ret 9 55 end 56 end 57 end 58 ret 0 59 end 60 fn sstatus r ulong to ulong 61 if eq r 0 62 ret 0 63 end 64 if or eq r 3 eq r 4 65 ret 69 66 end 67 ret 65 68 end