Skip to content

Instantly share code, notes, and snippets.

@itsdotscience

itsdotscience/a Secret

Last active February 3, 2024 04:12
Show Gist options
  • Save itsdotscience/4e29dca91f010a1873d1083fae94a655 to your computer and use it in GitHub Desktop.
Save itsdotscience/4e29dca91f010a1873d1083fae94a655 to your computer and use it in GitHub Desktop.
diable/enable CUDA Sysmem Fallback Policy from command line
Build or download https://github.com/Orbmu2k/nvidiaProfileInspector/releases/
run nvidiaProfileInspector.exe -silentImport enable_sysmem_fallback.nip or disable_sysmem_fallback.nip which you will find below.
enjoy. better method coming soon as I iron our some nvapi bs
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfProfile>
<Profile>
<ProfileName>Base Profile</ProfileName>
<Executeables />
<Settings>
<ProfileSetting>
<SettingNameInfo>CUDA Sysmem Fallback Policy</SettingNameInfo>
<SettingID>283962569</SettingID>
<SettingValue>1</SettingValue>
<ValueType>Dword</ValueType>
</ProfileSetting>
</Settings>
</Profile>
</ArrayOfProfile>
<?xml version="1.0" encoding="utf-16"?>
<ArrayOfProfile>
<Profile>
<ProfileName>Base Profile</ProfileName>
<Executeables />
<Settings>
<ProfileSetting>
<SettingNameInfo>CUDA Sysmem Fallback Policy</SettingNameInfo>
<SettingID>283962569</SettingID>
<SettingValue>2</SettingValue>
<ValueType>Dword</ValueType>
</ProfileSetting>
</Settings>
</Profile>
</ArrayOfProfile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment