2e93b9f6cb
Prior we were enabling dynamic loading mode if BUILD_SHARED_LIBS, but this is not correct. We should only be loading dynamically if the amd_comgr library itself is shared. Background: we have a configuration where we use a static linked comgr stub in order to achieve LLVM isolation (it dynamically loads the comgr and compiler into a dedicated link namespace) in an otherwise dynamic linked clr.
AMD CLR - Compute Language Runtimes
Caution
The clr repository is retired, please use the ROCm/rocm-systems repository for development. This
developbranch will only accept patch updates from a bot that mirrors clr-specific updates fromrocm-systemsinto here.
AMD CLR (Compute Language Runtime) contains source codes for AMD's compute languages runtimes: HIP and OpenCL™.