Skip to content

ADLXWrapper v1.1.231

Choose a tag to compare

@terrymacdonald terrymacdonald released this 31 Dec 09:16
· 24 commits to main since this release

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)

  1. Download adlxwrapper--Release.zip from this release.
  2. Unzip and copy ADLXWrapper.dll (and ADLXWrapper.xml for IntelliSense) into your project (e.g., lib/adlxwrapper/).
  3. Add a reference to the DLL in your .csproj:
<ItemGroup>
  <Reference Include="ADLXWrapper">
    <HintPath>lib\\adlxwrapper\\ADLXWrapper.dll</HintPath>
  </Reference>
</ItemGroup>
  1. Build and run. The ADLX runtime itself comes from the installed AMD driver, so no extra native payload is needed.
  2. Use the facade APIs (ADLXApiHelper, ADLXSystemServicesHelper, etc.) for pointer-free access. See Samples/ for end-to-end examples.

Option B – Add the project directly

  1. Clone this repo (or add as a submodule).
  2. Run prepare_adlx.ps1 once to pull ADLX headers.
  3. Add a project reference: ADLXWrapper.csproj
  4. 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.