nvidia-container-toolkit/internal
Evan Lezar fa5a4ac499
Read ldcache at construction instead of on each locate call
This change udpates the ldcache locator to read the ldcache at construction
and use these contents to perform future lookups against. Each of the cache
entries are resolved and lookups return the resolved target.

Assuming a symlink chain: libcuda.so -> libcuda.so.1 -> libcuda.so.VERSION, this
means that libcuda.so.VERION will be returned for any of the following inputs:
libcuda.so, libcuda.so.1, libcudal.so.*.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-10-24 23:12:58 +02:00
..
config Allow IMEX channels to be requested as volume mounts 2024-10-17 16:54:29 +02:00
cuda Fix build and test on darwin 2024-02-05 23:58:28 +01:00
discover Add creation of select driver symlinks to CDI spec 2024-10-01 11:34:58 +02:00
dxcore Use D3DKMTEnumAdapters3 for adapter enumeration 2024-03-12 11:42:08 +01:00
edits
info Bump github.com/NVIDIA/go-nvlib to v0.5.0 2024-05-28 13:28:28 +02:00
ldcache Read ldcache at construction instead of on each locate call 2024-10-24 23:12:58 +02:00
logger Add Tracef to logger Interface 2024-07-01 12:12:38 +02:00
lookup Read ldcache at construction instead of on each locate call 2024-10-24 23:12:58 +02:00
modifier [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
nvcaps
nvsandboxutils Fix incompatible pointer conversion 2024-09-25 16:40:43 -07:00
oci Reduce logging for the NVIDIA Container runtime 2024-07-01 12:12:38 +02:00
platform-support [no-relnote] minor cleanup and improvements 2024-10-11 16:14:41 +02:00
requirements
runtime Reduce logging for the NVIDIA Container runtime 2024-07-01 12:12:38 +02:00
system Add proc.devices.New constructor 2024-02-06 11:19:43 +01:00
test