tkestack / vcuda-controller

Other
488 stars 156 forks source link

add hijack entrypoint #30

Closed VincentLeeMax closed 1 year ago

VincentLeeMax commented 1 year ago

fix issue https://github.com/tkestack/gpu-manager/issues/169

when cuda >= 11.3, cuGetProcAddress could be the entrypoint, add init logic.

For example, running https://github.com/NVIDIA/cuda-samples/tree/v11.3/Samples/deviceQuerycudaGetDeviceCount will call cuGetProcAddress first.

image