Skip to content

lmagder/OptimusEnablementNET

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

OptimusEnablementNET

This is an example of adding a data export to a C# program to select the correct GPU on an NVIDIA Optimus System.

It works around the fact that you can't directly export a symbol in C# by editing the IL after compilation and the fact you can only export code in .NET by editing the export's value at module load.

About

Example of exporting a data symbol in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages