Skip to content

Rust Samples

Navigation: Programming with ADLX → ADLX Samples

Samples

Unlike the C#, Java, and Python samples, the Rust samples do not require a separate binding project. Rust binds to the ADLX C interface directly through FFI. The shared amd-adlx crate declares the required ADLX interfaces (vtables) and provides a lightweight AdlxHelper loader.

FileName Description
amd-adlx ADLX FFI bindings and the AdlxHelper runtime loader
DisplayInfo Enumerates the displays and prints their information
DisplayEvents Registers a listener and reports display list changes
GPUInfo Enumerates the GPUs and prints their information
GPUStressTest Queries GPU stress-test support via IADLXGPU3
PerfGPUMetrics Reads current GPU performance metrics and their ranges
Log Enables ADLX logging and captures log data via an application callback

Subpages

API Reference

This page references: