CodeQL / File created without restricting permissions
A file may be created here with mode 0666, which would make it world-writable.
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
A file may be created here with mode 0666, which would make it world-writable.
A file may be created here with mode 0666, which would make it world-writable.
A file may be created here with mode 0666, which would make it world-writable.
This argument to a file access function is derived from user input (value read by fscanf) and then passed to fopen(__filename). This argument to a file access function is derived from user input (value read by fscanf) and then passed to fopen(__filename).
This allocation size is derived from user input (value read by fscanf) and could allocate arbitrary amounts of memory.
A file may be created here with mode 0666, which would make it world-writable.
This argument to a file access function is derived from user input (value read by fscanf) and then passed to fopen(__filename).
The host self-test now unlinks every file in the mkdtemp directory and rmdirs it (tests/gpu_latmeas_test.c, the load-check block). 23f2663.
This is not a bad stall measurement. cycle_median_stall1 70 is the raw clock at programmed stall 1 (cyc[][][0], tests/gpu_latmeas_test.c lines 1965 and 1987). It is not stall 13 minus one, and nothing subtracts overhead_cycle_median (line 1995). At stall 1 the predicate guard still sees the previous true P0, the poison branch leaves the loop, and the clocks cover that exit, so 70 is under the 1261-cycle empty loop. The pass bit is the oracle sweep: stall_required 13 is reported_threshold (line 1223) of pass[][] set at line 1884 when every lane matches. The clock at that stall is cycle_median 2714 (lines 1946 and 1981), also raw, and it is above the overhead. Neither clock decides the stall. evidence/LATMEAS-GB10-20261101-oracle/raw.json pred is stall_required 13, cycle_median 2714, cycle_median_stall1 70, overhead_cycle_median 1261. The table label is now "programmed stall 1 cycles", and the note under the table cites those lines. 23f2663.
The receipt now records the launch command and its exit code. write_receipt prints launch_command and launch_rc for the exact flock /tmp/aien-gb10.lock timeout 600 ./build/gpu_latmeas_test --launch ... line. Dirty detection uses git status --porcelain, so an untracked file marks the tree dirty. The --receipt-self-test path checks both the command and rc, and a temporary git repo with an untracked file. This is 23f2663.
github-import 1
aien-dev/CUDApp
254
7adf35106976c20b9c19f631b5f1308b4ac0a25a
{"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":254,"url":"https://github.com/aien-dev/CUDApp/pull/254","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:01Z","metadata":"unavailable","state_derived":true}