Buildbot: Upgrade to the latest HIPRT Compiler on Windows #84
Labels
No Label
Service
Buildbot
Service
Chat
Service
Gitea
Service
Translate
Type
Bug
Type
Config
Type
Deployment
Type
Feature
Type
Setup
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/blender-projects-platform#84
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current Version:
New Versions Available:
Issue Summary:
We need to upgrade from
hiprtsdk-2.0.3a134c7
to one of the newer versions listed above. The newer versions adhere to a different package structure, which may require adjustments to our build process, specifically the FIND commands in CMAKE.Background:
In a recent upgrade (#81), we added a new version of HIP (
hip_sdk_5.7.32000
) for Windows. However, testing this upgrade in GPU compilation resulted in errors that are potentially related to the outdated HIPRT version.The following error was encountered during a pipeline run (build #5126):
Action Items:
hip_sdk_5.7.32000
.I don't know how we exactly got the current
hiprtsdk-2.0.3a134c7.zip
package, however, it seems to adhere to a different package and naming structure than the ones we can download officially from AMD. This makes updating a bit more tricky, since it either forces us to repackage according to current standards, which is probably not as future proof, or we have to change our CMAKE FIND commands to be compatible with the new structure.I excluded parts of the structure that weren't important
To illustrate, our current package (hiprtsdk-2.0.3a134c7.zip), has the following structure when unzipped:
In
build_files/cmake/Modules/FindHIPRT.cmake
we try to findhiprt02000_amd_lib_win.bc
(BITCODE).But these need to be adjusted for the new packages (which also have a different file name, namely,
hiprtSdk-2.2.0e68f54.zip
), which look as follows:As you can see, we go from trying to find:
hiprtsdk-2.0.3a134c7/hiprt2.0.3a134c7/dist/bin/Release/hiprt02000_amd_lib_win.bc
to
hiprtSdk-2.2.0e68f54/hiprt/win/hiprt02002_5.7_amd_lib_win.bc
And the name of that file also now includes a reference to the HIP version (5.7)
I am trying to resolve these issues within the following PR, currently only used for testing and debugging:
blender/blender#122393
I got confirmation that new versions of HIPRT do not need to be deployed to the Buildbot workers.
I have repackaged the archive AMD sent us to align with our previous versions of HIP-RT, such that we don't have to alter our
FIND_HIPRT
inCMAKE
.It's currently deployed to one of our UATEST workers where I'm running a test release based on PR #123306, a slightly modified version of your
STX_Support
branch:When this build finishes without issues I will continue deploying this version to other workers.
hiprtsdk-2.0.e1ff193
was deployed to the latest buildbot workers.Upgrade to the latest HIPRT Compiler on Windowsto Buildbot: Upgrade to the latest HIPRT Compiler on Windows