summaryrefslogtreecommitdiffstats
path: root/docs/09-reference
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 14:40:01 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 14:40:01 -0400
commit8353a1344c78a3f29274f3c7b6e0984b81464346 (patch)
treefe2baceb7e746e8a783afa41b31f348b721ed706 /docs/09-reference
parentd52a6425ba2e0a46f2cf5c66219d34fcdc49c2d7 (diff)
downloadopen-iov-8353a1344c78a3f29274f3c7b6e0984b81464346.tar.gz
open-iov-8353a1344c78a3f29274f3c7b6e0984b81464346.zip
GSPRM CLK legacy controls: populate the domain queries the runtime clock helper gates on
The static CUDA runtime's device init failed with cudaErrorInitializationError even though every kernel ioctl returned 0: cuInit succeeded and then cuDeviceGetAttribute(ECC_ENABLED=36) returned CUDA_ERROR_NOT_FOUND (500). Tracing libcuda's clock-domain helper (libcuda+0xe8c410) shows it issues the CLK legacy controls 0x20809009/0x20809064/0x20809001 and bails with 500 when the replies do not carry the expected domain bits/entries; the dependent attribute getters (ECC_ENABLED, TOTAL_CONSTANT_MEMORY) then abort init. Reply to the three queries with the minimal fields the helper checks: bits 32|34 present in 0x20809009, non-zero domain entries at offsets 12/20/28/36 of 0x20809064, and a matching selector in 0x20809001. No frequencies are fabricated (all other fields stay zero). Verified in the guest with the stock 570.144 static-cudart vectorAdd client: cudaGetDeviceCount -> rc=0 (ndev=1), cudaSetDevice, cudaFree, three cudaMallocs and both HtoD copies all return rc=0; the client then parks in cudaDeviceSynchronize waiting for the (not yet forwarded) kernel launch.
Diffstat (limited to 'docs/09-reference')
0 files changed, 0 insertions, 0 deletions