Repository navigation
Commit dfc7a12
feature/adm: apply the 17 pixel minimum to adm_cuda as well
adm_cuda computes the same ceil(log2(w) - 4) shift counts on the host
(integer_adm_cuda.c) and is picked for the same frames when a CUDA
context is present, so it must refuse what the CPU extractor refuses.
Share ADM_MIN_DIM through integer_adm.h and check it at the top of
init_fex_cuda(), before any CUDA object is created.
Built with CUDA 13.4 and run on an RTX 4090: 16x16, 64x16 fail with
"adm_cuda: invalid size" and exit 234, 24x24 scores as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent b8e2a35 commit dfc7a12
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
999 | 1000 | | |
1000 | 1001 | | |
1001 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
1002 | 1011 | | |
1003 | 1012 | | |
1004 | 1013 | | |
| |||
0 commit comments