ROCm Release v4.1¶
COMPILER-GENERATED CODE OBJECT VERSION 2 DEPRECATION¶
Compiler-generated code object version 2 is no longer supported and has been completely removed.
Support for loading code object version 2 is also deprecated with no announced removal release.
Changed HIP Environment Variables in ROCm v4.1 Release¶
In the ROCm v3.5 release, the Heterogeneous Compute Compiler (HCC) compiler was deprecated, and the HIP-Clang compiler was introduced for compiling Heterogeneous-Compute Interface for Portability (HIP) programs. Also, the HIP runtime API was implemented on top of the Radeon Open Compute Common Language runtime (ROCclr). ROCclr is an abstraction layer that provides the ability to interact with different runtime backends such as ROCr.
While the HIP_PLATFORM=hcc environment variable was functional in subsequent releases after ROCm v3.5, in the ROCm v4.1 release, changes to the following environment variables were implemented:
HIP_PLATFORM=hcc was changed to HIP_PLATFORM=amd
HIP_PLATFORM=nvcc was changed to HIP_PLATFORM=nvidia
Therefore, any applications continuing to use the HIP_PLATFORM=hcc environment variable will fail.
Workaround: Update the environment variables to reflect the changes mentioned above.
ROCm Release v4.0¶
ROCr Runtime Deprecations¶
The following ROCr Runtime enumerations, functions, and structs are deprecated in the AMD ROCm v4.0 release.
Deprecated ROCr Runtime Functions
Deprecated ROCr Runtime Enumerations¶
Deprecated ROCr Runtime Structs¶
As of AMD ROCm v4.0, AOMP (aomp-amdgpu) is deprecated. OpenMP support has moved to the openmp-extras auxiliary package, which leverages the ROCm compiler on LLVM 12.
For more information, refer to
ROCm Release v3.5¶
Heterogeneous Compute Compiler¶
In the ROCm v3.5 release, the Heterogeneous Compute Compiler (HCC) compiler was deprecated and the HIP-Clang compiler was introduced for compiling Heterogeneous-Compute Interface for Portability (HIP) programs.
For more information, download the HIP Programming Guide at: