tkestack / vcuda-controller

Other
488 stars 156 forks source link

add cuGetProcAddress to cuda_hook_entry list #31

Closed hzliangbin closed 1 year ago

hzliangbin commented 1 year ago

there is a case that using cuGetProcAddress to get function pointer of itself. we should also hook cuGetProcAddress , return its function pointer of vcuda instead of cuda.

hzliangbin commented 1 year ago

related issue #30 and tke/gpu-manger#169

hzliangbin commented 1 year ago

really appreciated the job! I tested it and found that we should hook cuGetProcAddress also. Could you take a look. @mYmNeo