Releases: terrymacdonald/ADLXWrapper
ADLXWrapper v1.1.231
First AMD tested release.
Includes a set of Helper/Facade objects that simplify the usage of the AMD ADLX SDK, as well as the ClangSharp converted Native ADLX SDK. You can choose whichever way you want to interact with the ADLX API.
How to use ADLXWrapper in your app
Option A – Reference the prebuilt DLL (from this Release ZIP)
- Download adlxwrapper--Release.zip from this release.
- Unzip and copy ADLXWrapper.dll (and ADLXWrapper.xml for IntelliSense) into your project (e.g.,
lib/adlxwrapper/). - Add a reference to the DLL in your .csproj:
<ItemGroup>
<Reference Include="ADLXWrapper">
<HintPath>lib\\adlxwrapper\\ADLXWrapper.dll</HintPath>
</Reference>
</ItemGroup>
- Build and run. The ADLX runtime itself comes from the installed AMD driver, so no extra native payload is needed.
- Use the facade APIs (ADLXApiHelper, ADLXSystemServicesHelper, etc.) for pointer-free access. See Samples/ for end-to-end examples.
Option B – Add the project directly
- Clone this repo (or add as a submodule).
- Run
prepare_adlx.ps1once to pull ADLX headers. - Add a project reference: ADLXWrapper.csproj
- Build normally; the generated bindings are produced automatically.
Notes:
Target framework: .NET 10.0, x64.
Disposal matters: scope ADLXApiHelper outermost, then system services, then per-feature helpers/facades.
Optional features are hardware/driver dependent; query support or use Try* methods.
API docs are included in index.html inside the repo
Samples in Samples/ show both Facade and Native usage.
First release
This is the first release of the project, so may contain bugs!
To use this release, unzip the files to the root folder of the project, and add the DLL as a reference to your project, and set it to 'CopyIfNewer' so that the DLL gets put in the output folder, and is included with the release build. The ADLXWrapper.xml file contains information that be used by Intellisense.