6.4.4. Runtime CPU Architecture Selection - 6.4.4. Runtime CPU Architecture Selection - 5.3 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2026-05-13
Version
5.3 English

Force runtime CPU architecture

  • To force runtime CPU architecture, use the environment variable AOCL_ENABLE_INSTRUCTION before running the test executable.

  • The supported options are ZEN, ZEN1, ZEN2, ZEN3, ZEN4, and ZEN5

  • Example (to force runtime architecture as ZEN3):

export AOCL_ENABLE_INSTRUCTION=ZEN3 && ./bin/cipher/aes-gcm

  • NOTE: You cannot force the usage of an architecture higher than the system runtime architecture. If you attempt this, the library falls back to the highest supported architecture.