提交测试
This commit is contained in:
5
tools/windows/SetupDriver.ps1
Normal file
5
tools/windows/SetupDriver.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
$Env:driver_store=$(ls $($($(Get-WmiObject Win32_VideoController).InstalledDisplayDrivers | sort -Unique).ToString().Split(',')| sort -Unique).ToString().Replace("\DriverStore\", "\HostDriverStore\")).Directory.FullName
|
||||
|
||||
cp "$Env:driver_store\nvcuda64.dll" C:\Windows\System32\nvcuda.dll
|
||||
cp "$Env:driver_store\nvapi64.dll" C:\Windows\System32\nvapi64.dll
|
||||
|
||||
Reference in New Issue
Block a user