mirror of
https://github.com/ROCm/ROCm.git
synced 2026-02-13 07:55:07 -05:00
Compare commits
10 Commits
docs/7.11.
...
amd/jmacar
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dce7dc3046 | ||
|
|
71cfd73d91 | ||
|
|
510e633626 | ||
|
|
95bb454f42 | ||
|
|
e4c97c1e98 | ||
|
|
f5fcbd5978 | ||
|
|
40b0490890 | ||
|
|
c6e411294d | ||
|
|
075042ba23 | ||
|
|
17594106ef |
42
.azuredevops/ci-builds/aomp-mainline.yml
Normal file
42
.azuredevops/ci-builds/aomp-mainline.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
variables:
|
||||||
|
- group: common
|
||||||
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: aomp_repo
|
||||||
|
type: github
|
||||||
|
endpoint: ROCm
|
||||||
|
name: ROCm/aomp
|
||||||
|
ref: amd-mainline
|
||||||
|
- repository: aomp-extras_repo
|
||||||
|
type: github
|
||||||
|
endpoint: ROCm
|
||||||
|
name: ROCm/aomp-extras
|
||||||
|
ref: amd-mainline
|
||||||
|
- repository: flang_repo
|
||||||
|
type: github
|
||||||
|
endpoint: ROCm
|
||||||
|
name: ROCm/flang
|
||||||
|
ref: amd-mainline
|
||||||
|
- repository: llvm-project_repo
|
||||||
|
type: github
|
||||||
|
endpoint: ROCm
|
||||||
|
name: ROCm/llvm-project
|
||||||
|
ref: amd-mainline
|
||||||
|
pipelines:
|
||||||
|
- pipeline: rocr-runtime_pipeline
|
||||||
|
source: \ROCR-Runtime
|
||||||
|
trigger:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- amd-mainline
|
||||||
|
# this job will only be triggered after successful build sequence of llvm-project and ROCR-Runtime
|
||||||
|
|
||||||
|
trigger: none
|
||||||
|
pr: none
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- template: ${{ variables.CI_COMPONENT_PATH }}/aomp.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: aomp_repo
|
||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: AMDMIGraphX
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
# - name: sparseCheckoutDir
|
|
||||||
# type: string
|
|
||||||
# default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -112,11 +93,7 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: AMDMIGraphX_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -144,8 +121,6 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -171,12 +146,12 @@ jobs:
|
|||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: AMDMIGraphX_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: AMDMIGraphX_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -208,8 +183,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: MIGraphXTest CMake Flags
|
displayName: MIGraphXTest CMake Flags
|
||||||
inputs:
|
inputs:
|
||||||
@@ -226,7 +199,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: AMDMIGraphX
|
||||||
testExecutable: make
|
testExecutable: make
|
||||||
testParameters: -j$(nproc) check
|
testParameters: -j$(nproc) check
|
||||||
testPublishResults: false
|
testPublishResults: false
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hip_clr_combined
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -54,24 +35,93 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- ROCR-Runtime
|
|
||||||
|
# hip and clr are tightly-coupled
|
||||||
|
# run this same template for both repos
|
||||||
|
# any changes for clr should just trigger HIP pipeline
|
||||||
|
# similarly for hipother repo, for Nvidia backend
|
||||||
|
|
||||||
- name: jobMatrix
|
- name: jobMatrix
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, platform: amd }
|
- { os: ubuntu2204, packageManager: apt }
|
||||||
- { os: ubuntu2204, packageManager: apt, platform: nvidia }
|
- { os: almalinux8, packageManager: dnf }
|
||||||
- { os: almalinux8, packageManager: dnf, platform: amd }
|
|
||||||
- { os: almalinux8, packageManager: dnf, platform: nvidia }
|
|
||||||
|
|
||||||
|
# HIP with AMD backend
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_${{ job.os }}_${{ job.platform }}
|
- job: hip_clr_combined_amd_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
pool:
|
||||||
dependsOn:
|
vmImage: 'ubuntu-22.04'
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
${{ if eq(job.os, 'almalinux8') }}:
|
||||||
- ${{ build }}_${{ job.os }}
|
container:
|
||||||
|
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
||||||
|
endpoint: ContainerService3
|
||||||
|
variables:
|
||||||
|
- group: common
|
||||||
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
workspace:
|
||||||
|
clean: all
|
||||||
|
steps:
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
|
parameters:
|
||||||
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
pipModules: ${{ parameters.pipModules }}
|
||||||
|
packageManager: ${{ job.packageManager }}
|
||||||
|
# checkout triggering repo (either HIP or clr)
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
|
# if this is triggered by HIP repo, matching repo is clr
|
||||||
|
# if this is triggered by clr repo, matching repo is HIP
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: matching_repo
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: hipother_repo
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
|
dependencyList: ${{ parameters.rocmDependenciesAMD }}
|
||||||
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
|
os: ${{ job.os }}
|
||||||
|
# compile clr
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
|
parameters:
|
||||||
|
componentName: clr
|
||||||
|
cmakeBuildDir: '$(Build.SourcesDirectory)/clr/build'
|
||||||
|
cmakeSourceDir: '$(Build.SourcesDirectory)/clr'
|
||||||
|
os: ${{ job.os }}
|
||||||
|
useAmdclang: false
|
||||||
|
extraBuildFlags: >-
|
||||||
|
-DHIP_COMMON_DIR=$(Build.SourcesDirectory)/HIP
|
||||||
|
-DHIP_PLATFORM=amd
|
||||||
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
|
-DHIPCC_BIN_DIR=$(Agent.BuildDirectory)/rocm/bin
|
||||||
|
-DCLR_BUILD_HIP=ON
|
||||||
|
-DCLR_BUILD_OCL=ON
|
||||||
|
-GNinja
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
|
parameters:
|
||||||
|
artifactName: amd
|
||||||
|
os: ${{ job.os }}
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
|
parameters:
|
||||||
|
artifactName: amd
|
||||||
|
os: ${{ job.os }}
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
# parameters:
|
||||||
|
# aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
# pipModules: ${{ parameters.pipModules }}
|
||||||
|
# environment: amd
|
||||||
|
|
||||||
|
# HIP with Nvidia backend
|
||||||
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
|
- job: hip_clr_combined_nvidia_${{ job.os }}
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-22.04'
|
vmImage: 'ubuntu-22.04'
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
${{ if eq(job.os, 'almalinux8') }}:
|
||||||
@@ -90,45 +140,49 @@ jobs:
|
|||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
packageManager: ${{ job.packageManager }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
# full checkout of rocm-systems superrepo, we need clr, hip, and hipother
|
# checkout triggering repo (either HIP or clr)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
# sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
# if this is triggered by HIP repo, matching repo is clr
|
||||||
|
# if this is triggered by clr repo, matching repo is HIP
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: matching_repo
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: hipother_repo
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
|
dependencyList: ${{ parameters.rocmDependenciesNvidia }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if eq(job.platform, 'amd') }}:
|
- script: 'ls -1R $(Agent.BuildDirectory)/rocm'
|
||||||
dependencyList: ${{ parameters.rocmDependenciesAMD }}
|
displayName: 'Artifact listing'
|
||||||
${{ elseif eq(job.platform, 'nvidia') }}:
|
# compile clr
|
||||||
dependencyList: ${{ parameters.rocmDependenciesNvidia }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: clr
|
componentName: clr
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/s/projects/clr/build
|
cmakeBuildDir: '$(Build.SourcesDirectory)/clr/build'
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/s/projects/clr
|
cmakeSourceDir: '$(Build.SourcesDirectory)/clr'
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
-DHIP_COMMON_DIR=$(Build.SourcesDirectory)/HIP
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
-DHIP_PLATFORM=nvidia
|
||||||
-DHIPCC_BIN_DIR=$(Agent.BuildDirectory)/rocm/bin
|
-DHIPCC_BIN_DIR=$(Agent.BuildDirectory)/rocm/bin
|
||||||
-DHIP_COMMON_DIR=$(Agent.BuildDirectory)/s/projects/hip
|
|
||||||
-DHIPNV_DIR=$(Agent.BuildDirectory)/s/projects/hipother/hipnv
|
|
||||||
-DHIP_PLATFORM=${{ job.platform }}
|
|
||||||
-DCLR_BUILD_HIP=ON
|
-DCLR_BUILD_HIP=ON
|
||||||
-DCLR_BUILD_OCL=ON
|
-DCLR_BUILD_OCL=OFF
|
||||||
|
-DHIPNV_DIR=$(Build.SourcesDirectory)/hipother/hipnv
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
||||||
parameters:
|
|
||||||
artifactName: ${{ job.platform }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
artifactName: ${{ job.platform }}
|
artifactName: nvidia
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
# parameters:
|
||||||
|
# aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
# pipModules: ${{ parameters.pipModules }}
|
||||||
|
# environment: nvidia
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
packageManager: ${{ job.packageManager }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add lit to PATH
|
displayName: Add lit to PATH
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: MIOpen
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -93,37 +74,16 @@ parameters:
|
|||||||
target: gfx942
|
target: gfx942
|
||||||
- gfx90a:
|
- gfx90a:
|
||||||
target: gfx90a
|
target: gfx90a
|
||||||
- name: downstreamComponentMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- MIVisionX:
|
|
||||||
name: MIVisionX
|
|
||||||
checkoutRepo: mivisionx_repo
|
|
||||||
sparseCheckoutDir: ''
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- MIOpen_build
|
|
||||||
- AMDMIGraphX:
|
|
||||||
name: AMDMIGraphX
|
|
||||||
checkoutRepo: amdmigraphx_repo
|
|
||||||
sparseCheckoutDir: ''
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- MIOpen_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: MIOpen_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
- name: ROCM_PATH
|
- name: ROCM_PATH
|
||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool: ${{ variables.HIGH_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -131,12 +91,10 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/miopen-get-ck-build.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/miopen-get-ck-build.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
@@ -146,14 +104,11 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build and install other dependencies
|
displayName: Build and install other dependencies
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
script: |
|
script: |
|
||||||
sed -i '/composable_kernel/d' requirements.txt
|
sed -i '/composable_kernel/d' requirements.txt
|
||||||
mkdir -p $(Agent.BuildDirectory)/miopen-deps
|
mkdir -p $(Agent.BuildDirectory)/miopen-deps
|
||||||
@@ -175,10 +130,8 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -190,9 +143,9 @@ jobs:
|
|||||||
- miopen-deps
|
- miopen-deps
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: MIOpen_test_${{ job.target }}
|
||||||
timeoutInMinutes: 180
|
timeoutInMinutes: 180
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: MIOpen_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
@@ -212,12 +165,10 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/miopen-get-ck-build.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/miopen-get-ck-build.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -227,14 +178,11 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build and install other dependencies
|
displayName: Build and install other dependencies
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
script: |
|
script: |
|
||||||
sed -i '/composable_kernel/d' requirements.txt
|
sed -i '/composable_kernel/d' requirements.txt
|
||||||
mkdir -p $(Agent.BuildDirectory)/miopen-deps
|
mkdir -p $(Agent.BuildDirectory)/miopen-deps
|
||||||
@@ -245,7 +193,7 @@ jobs:
|
|||||||
displayName: 'MIOpen Test CMake Flags'
|
displayName: 'MIOpen Test CMake Flags'
|
||||||
inputs:
|
inputs:
|
||||||
cmakeArgs: >-
|
cmakeArgs: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/s/bin;$(Agent.BuildDirectory)/miopen-deps
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Build.SourcesDirectory)/bin;$(Agent.BuildDirectory)/miopen-deps
|
||||||
-DCMAKE_INSTALL_PREFIX=$(Agent.BuildDirectory)/rocm
|
-DCMAKE_INSTALL_PREFIX=$(Agent.BuildDirectory)/rocm
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
||||||
@@ -255,19 +203,19 @@ jobs:
|
|||||||
-DBUILD_DEV=OFF
|
-DBUILD_DEV=OFF
|
||||||
-DMIOPEN_USE_MLIR=ON
|
-DMIOPEN_USE_MLIR=ON
|
||||||
-DMIOPEN_GPU_SYNC=OFF
|
-DMIOPEN_GPU_SYNC=OFF
|
||||||
$(Agent.BuildDirectory)/s
|
..
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'MIOpen Test Build'
|
displayName: 'MIOpen Test Build'
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: build
|
|
||||||
script: |
|
script: |
|
||||||
cmake --build . --target tests -- -j$(nproc)
|
cmake --build . --target tests -- -j$(nproc)
|
||||||
|
workingDirectory: $(Build.SourcesDirectory)/build
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: MIOpen
|
||||||
testParameters: '--output-on-failure --force-new-ctest-process --output-junit test_output.xml --exclude-regex "test_rnn_seq_api|GPU_Conv2dTuningAsm_FP32|GPU_Conv2dTuningAsmBwdWrw_FP32"'
|
testParameters: '--output-on-failure --force-new-ctest-process --output-junit test_output.xml --exclude-regex "test_rnn_seq_api|GPU_Conv2dTuningAsm_FP32"'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -276,15 +224,3 @@ jobs:
|
|||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
extraCopyDirectories:
|
extraCopyDirectories:
|
||||||
- miopen-deps
|
- miopen-deps
|
||||||
|
|
||||||
# - ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
# - ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
# - ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
# - template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
# parameters:
|
|
||||||
# checkoutRepo: ${{ component.checkoutRepo }}
|
|
||||||
# # sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
# buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
# downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
# triggerDownstreamJobs: true
|
|
||||||
# unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: MIVisionX
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
# - name: sparseCheckoutDir
|
|
||||||
# type: string
|
|
||||||
# default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -62,24 +43,21 @@ parameters:
|
|||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- AMDMIGraphX
|
|
||||||
- clr
|
|
||||||
- half
|
|
||||||
- hipBLAS-common
|
|
||||||
- hipBLASLt
|
|
||||||
- llvm-project
|
|
||||||
- MIOpen
|
|
||||||
- rocBLAS
|
|
||||||
- rocDecode
|
|
||||||
- rocm-cmake
|
- rocm-cmake
|
||||||
|
- llvm-project
|
||||||
|
- ROCR-Runtime
|
||||||
|
- clr
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- ROCR-Runtime
|
- half
|
||||||
|
- rocBLAS
|
||||||
|
- MIOpen
|
||||||
|
- AMDMIGraphX
|
||||||
- rpp
|
- rpp
|
||||||
|
- rocDecode
|
||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- aomp
|
|
||||||
- clr
|
- clr
|
||||||
- half
|
- half
|
||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
@@ -108,15 +86,12 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: MIVisionX_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -134,8 +109,6 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -157,12 +130,12 @@ jobs:
|
|||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: MIVisionX_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: MIVisionX_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -187,8 +160,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build MIVisionX tests
|
displayName: Build MIVisionX tests
|
||||||
inputs:
|
inputs:
|
||||||
@@ -202,7 +173,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: MIVisionX
|
||||||
testDir: 'mivisionx-tests'
|
testDir: 'mivisionx-tests'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: ROCR-Runtime
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -47,8 +28,8 @@ parameters:
|
|||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- amdsmi
|
|
||||||
- llvm-project
|
- llvm-project
|
||||||
|
- rocm_smi_lib
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
|
|
||||||
- name: jobMatrix
|
- name: jobMatrix
|
||||||
@@ -64,10 +45,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ROCR_Runtime_build_${{ job.os }}
|
- job: ROCR_Runtime_build_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-22.04'
|
vmImage: 'ubuntu-22.04'
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
${{ if eq(job.os, 'almalinux8') }}:
|
||||||
@@ -88,18 +65,14 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -109,26 +82,22 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
# parameters:
|
# parameters:
|
||||||
# aptPackages: ${{ parameters.aptPackages }}
|
# aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ROCR_Runtime_test_${{ job.os }}_${{ job.target }}
|
- job: ROCR_Runtime_test_${{ job.os }}_${{ job.target }}
|
||||||
dependsOn: ROCR_Runtime_build_${{ job.os }}
|
dependsOn: ROCR_Runtime_build_${{ job.os }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -142,6 +111,14 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
packageManager: ${{ job.packageManager }}
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Install libhwloc5
|
||||||
|
inputs:
|
||||||
|
targetType: 'inline'
|
||||||
|
script: |
|
||||||
|
wget http://ftp.us.debian.org/debian/pool/main/h/hwloc/libhwloc5_1.11.12-3_amd64.deb
|
||||||
|
wget http://ftp.us.debian.org/debian/pool/main/h/hwloc/libhwloc-dev_1.11.12-3_amd64.deb
|
||||||
|
sudo apt install -y --allow-downgrades ./libhwloc5_1.11.12-3_amd64.deb ./libhwloc-dev_1.11.12-3_amd64.deb
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -153,20 +130,18 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
parameters:
|
parameters:
|
||||||
runRocminfo: false
|
runRocminfo: false
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build kfdtest
|
displayName: Build kfdtest
|
||||||
|
continueOnError: true
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s/libhsakmt/tests/kfdtest
|
workingDirectory: $(Build.SourcesDirectory)/libhsakmt/tests/kfdtest
|
||||||
script: |
|
script: |
|
||||||
if [ -e /opt/rh/gcc-toolset-14/enable ]; then
|
if [ -e /opt/rh/gcc-toolset-14/enable ]; then
|
||||||
source /opt/rh/gcc-toolset-14/enable
|
source /opt/rh/gcc-toolset-14/enable
|
||||||
@@ -177,20 +152,17 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: kfdtest
|
componentName: kfdtest
|
||||||
testExecutable: BIN_DIR=$(Agent.BuildDirectory)/s/libhsakmt/tests/kfdtest/build ./run_kfdtest.sh
|
testExecutable: BIN_DIR=$(Build.SourcesDirectory)/libhsakmt/tests/kfdtest/build ./run_kfdtest.sh
|
||||||
testParameters: '-p core --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '-p core --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
testDir: $(Agent.BuildDirectory)/s/libhsakmt/tests/kfdtest/scripts
|
testDir: $(Build.SourcesDirectory)/libhsakmt/tests/kfdtest/scripts
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Build rocrtst
|
displayName: Build rocrtst
|
||||||
|
continueOnError: true
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s/rocrtst/suites/test_common
|
workingDirectory: $(Build.SourcesDirectory)/rocrtst/suites/test_common
|
||||||
script: |
|
script: |
|
||||||
echo $(Agent.BuildDirectory)/s/rocrtst/thirdparty/lib | sudo tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
sudo cat /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
sudo ldconfig -v
|
|
||||||
ldconfig -p
|
|
||||||
if [ -e /opt/rh/gcc-toolset-14/enable ]; then
|
if [ -e /opt/rh/gcc-toolset-14/enable ]; then
|
||||||
source /opt/rh/gcc-toolset-14/enable
|
source /opt/rh/gcc-toolset-14/enable
|
||||||
fi
|
fi
|
||||||
@@ -210,7 +182,7 @@ jobs:
|
|||||||
componentName: rocrtst
|
componentName: rocrtst
|
||||||
testExecutable: ./rocrtst64
|
testExecutable: ./rocrtst64
|
||||||
testParameters: '--gtest_filter="-rocrtstNeg.Memory_Negative_Tests:rocrtstFunc.Memory_Max_Mem" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_filter="-rocrtstNeg.Memory_Negative_Tests:rocrtstFunc.Memory_Max_Mem" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
testDir: $(Agent.BuildDirectory)/s//rocrtst/suites/test_common/build/${{ job.target }}
|
testDir: $(Build.SourcesDirectory)/rocrtst/suites/test_common/build/${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -55,6 +55,8 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
||||||
|
${{ if parameters.buildDependsOn }}:
|
||||||
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ jobs:
|
|||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
- name: HIP_INC_DIR
|
- name: HIP_INC_DIR
|
||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: Tensile
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -32,10 +13,10 @@ parameters:
|
|||||||
- name: aptPackages
|
- name: aptPackages
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
|
- python3-pip
|
||||||
- cmake
|
- cmake
|
||||||
- libboost-filesystem-dev
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- libmsgpack-dev
|
- libmsgpack-dev
|
||||||
|
- libboost-program-options-dev
|
||||||
- name: pipModules
|
- name: pipModules
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -57,18 +38,14 @@ parameters:
|
|||||||
- name: jobMatrix
|
- name: jobMatrix
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt }
|
|
||||||
- { os: almalinux8, packageManager: dnf }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
|
- gfx90a:
|
||||||
|
target: gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- job: Tensile_build
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -76,10 +53,6 @@ jobs:
|
|||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
pool:
|
pool:
|
||||||
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -87,39 +60,25 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Create wheel file
|
displayName: Create wheel file
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: python3 setup.py bdist_wheel
|
script: python3 setup.py bdist_wheel
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
- task: Bash@3
|
|
||||||
displayName: Rename wheel file with job OS
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
|
||||||
script: |
|
|
||||||
wheelFile=$(find "$(Agent.BuildDirectory)/s/dist" -type f -name "*.whl" | head -n 1)
|
|
||||||
newWheelFile="$(basename "$wheelFile" .whl)-${{ job.os }}.whl"
|
|
||||||
mv "$wheelFile" "$(dirname "$wheelFile")/$newWheelFile"
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
||||||
parameters:
|
parameters:
|
||||||
sourceDir: $(Agent.BuildDirectory)/s/dist
|
sourceDir: $(Build.SourcesDirectory)/dist
|
||||||
contentsString: '*.whl'
|
contentsString: '*.whl'
|
||||||
targetDir: $(Build.ArtifactStagingDirectory)
|
targetDir: $(Build.ArtifactStagingDirectory)
|
||||||
clean: false
|
clean: false
|
||||||
@@ -145,9 +104,9 @@ jobs:
|
|||||||
# pipModules: ${{ parameters.pipModules }}
|
# pipModules: ${{ parameters.pipModules }}
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: Tensile_test_${{ job.os }}_${{ job.target }}
|
- job: Tensile_test_${{ job.target }}
|
||||||
timeoutInMinutes: 180
|
timeoutInMinutes: 180
|
||||||
dependsOn: Tensile_build_${{ job.os }}
|
dependsOn: Tensile_build
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
@@ -167,24 +126,20 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Pipeline Wheel Files'
|
displayName: 'Download Pipeline Wheel Files'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
itemPattern: '**/*${{ job.os }}*.whl'
|
itemPattern: '**/*.whl'
|
||||||
targetPath: $(Agent.BuildDirectory)
|
targetPath: $(Agent.BuildDirectory)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: pip install
|
displayName: pip install
|
||||||
@@ -209,7 +164,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: tox run -v -e ci -- -m pre_checkin
|
script: tox run -v -e ci -- -m pre_checkin
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
componentName: amdsmi
|
componentName: amdsmi
|
||||||
testDir: '$(Agent.BuildDirectory)'
|
testDir: '$(Agent.BuildDirectory)'
|
||||||
testExecutable: 'sudo ./rocm/share/amd_smi/tests/amdsmitst'
|
testExecutable: './rocm/share/amd_smi/tests/amdsmitst'
|
||||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
|||||||
@@ -78,6 +78,8 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
||||||
|
${{ if parameters.buildDependsOn }}:
|
||||||
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -1,174 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: aqlprofile
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
|
||||||
# and dependencies are pulled from same pipeline
|
|
||||||
- name: aggregatePipeline
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
- python3-pip
|
|
||||||
- name: rocmDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- ROCR-Runtime
|
|
||||||
- name: rocmTestDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- ROCR-Runtime
|
|
||||||
- rocprofiler-register
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
|
||||||
testJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
consolidateBuildAndInstall: true
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
|
||||||
-DCMAKE_MODULE_PATH=$(Agent.BuildDirectory)/aqlprofile/cmake_modules
|
|
||||||
-DAQLPROFILE_BUILD_TESTS=ON
|
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
|
||||||
-GNinja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
|
||||||
condition:
|
|
||||||
and(succeeded(),
|
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
|
||||||
)
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool: ${{ job.target }}_test_pool
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
|
||||||
parameters:
|
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
testDir: $(Agent.BuildDirectory)/rocm/share/hsa-amd-aqlprofile/
|
|
||||||
testExecutable: ./run_tests.sh
|
|
||||||
testParameters: ''
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
environment: test
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
@@ -107,7 +107,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
# if this artifact name is changed, please also update $ARTIFACT_URL inside miopen-get-ck-build.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|||||||
@@ -1,19 +1,16 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: jobMatrix
|
- name: checkoutRepo
|
||||||
type: object
|
type: string
|
||||||
default:
|
default: 'self'
|
||||||
copyJobs:
|
- name: checkoutRef
|
||||||
- { os: ubuntu2204, backend: amd }
|
type: string
|
||||||
- { os: almalinux8, backend: amd }
|
default: ''
|
||||||
- { os: ubuntu2204, backend: nvidia }
|
|
||||||
- { os: almalinux8, backend: nvidia }
|
|
||||||
|
|
||||||
# hip and clr are tightly-coupled
|
# hip and clr are tightly-coupled
|
||||||
# run this same template for both repos
|
# run this same template for both repos
|
||||||
# any changes for clr should just trigger HIP pipeline
|
# any changes for clr should just trigger HIP pipeline
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.copyJobs }}:
|
- job: hip_clr_combined
|
||||||
- job: hip_clr_combined_${{ job.os }}_${{ job.backend }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -29,16 +26,11 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
componentName: HIP
|
componentName: HIP
|
||||||
pipelineId: $(HIP_PIPELINE_ID)
|
pipelineId: $(HIP_PIPELINE_ID)
|
||||||
fileFilter: ${{ job.os }}*${{ job.backend }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Copy HIP artifacts
|
displayName: Copy HIP artifacts
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: cp -a $(Agent.BuildDirectory)/rocm/* $(Build.BinariesDirectory)/
|
script: cp -a $(Agent.BuildDirectory)/rocm/* $(Build.BinariesDirectory)/
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
inputs:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hip-tests
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -79,10 +60,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: hip_tests_build_${{ job.target }}
|
- job: hip_tests_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -99,18 +76,15 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
# compile hip-tests
|
# compile hip-tests
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hip-tests
|
||||||
cmakeSourceDir: '../catch'
|
cmakeSourceDir: '../catch'
|
||||||
customBuildTarget: build_tests
|
customBuildTarget: build_tests
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -122,12 +96,9 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -137,7 +108,6 @@ jobs:
|
|||||||
extraEnvVars:
|
extraEnvVars:
|
||||||
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: hip_tests_test_${{ job.target }}
|
- job: hip_tests_test_${{ job.target }}
|
||||||
timeoutInMinutes: 240
|
timeoutInMinutes: 240
|
||||||
@@ -145,7 +115,7 @@ jobs:
|
|||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -155,7 +125,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -169,8 +138,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Symlink rocm_agent_enumerator
|
displayName: Symlink rocm_agent_enumerator
|
||||||
inputs:
|
inputs:
|
||||||
@@ -182,7 +149,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hip_tests
|
||||||
testDir: $(Agent.BuildDirectory)/rocm/share/hip
|
testDir: $(Agent.BuildDirectory)/rocm/share/hip
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -59,15 +59,16 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/hipblaslt
|
sparseCheckoutDir: projects/hipblaslt
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- hipBLAS_common_build
|
gfx942:
|
||||||
|
- hipBLAS_common
|
||||||
|
gfx90a:
|
||||||
|
- hipBLAS_common
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: hipBLAS_common_build_${{ job.os }}
|
- job: hipBLAS_common_build_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hipBLAS
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -88,30 +69,10 @@ parameters:
|
|||||||
target: gfx942
|
target: gfx942
|
||||||
- gfx90a:
|
- gfx90a:
|
||||||
target: gfx90a
|
target: gfx90a
|
||||||
# MIOpen depends on both rocRAND and hipBLAS
|
|
||||||
# for a unified build, hipBLAS will be the one to call MIOpen
|
|
||||||
- name: downstreamComponentMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- MIOpen:
|
|
||||||
name: MIOpen
|
|
||||||
sparseCheckoutDir: projects/miopen
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- hipBLAS_build
|
|
||||||
unifiedBuild:
|
|
||||||
downstreamAggregateNames: hipBLAS+rocRAND
|
|
||||||
buildDependsOn:
|
|
||||||
- hipBLAS_build
|
|
||||||
- rocRAND_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: hipBLAS_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -127,7 +88,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aocl.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aocl.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -135,8 +95,6 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -151,12 +109,9 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -166,14 +121,13 @@ jobs:
|
|||||||
installAOCL: true
|
installAOCL: true
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: hipBLAS_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: hipBLAS_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -183,7 +137,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -191,7 +144,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
@@ -199,12 +151,10 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hipBLAS
|
||||||
testExecutable: $(Agent.BuildDirectory)/rocm/bin/hipblas-test
|
testExecutable: $(Agent.BuildDirectory)/rocm/bin/hipblas-test
|
||||||
testParameters: '--yaml hipblas_smoke.yaml --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--yaml hipblas_smoke.yaml --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
@@ -214,19 +164,3 @@ jobs:
|
|||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
environment: test
|
environment: test
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
${{ if parameters.unifiedBuild }}:
|
|
||||||
buildDependsOn: ${{ component.unifiedBuild.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ component.unifiedBuild.downstreamAggregateNames }}
|
|
||||||
${{ else }}:
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
|
|||||||
@@ -32,30 +32,21 @@ parameters:
|
|||||||
- name: aptPackages
|
- name: aptPackages
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- ccache
|
|
||||||
- gfortran
|
|
||||||
- git
|
- git
|
||||||
- libboost-filesystem-dev
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- libdrm-dev
|
- libdrm-dev
|
||||||
- liblapack-dev
|
|
||||||
- libmsgpack-dev
|
- libmsgpack-dev
|
||||||
- libnuma-dev
|
- libnuma-dev
|
||||||
- libopenblas-dev
|
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-venv
|
- python3-venv
|
||||||
|
- gfortran
|
||||||
|
- libblas-dev
|
||||||
|
- ccache
|
||||||
- name: pipModules
|
- name: pipModules
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- joblib
|
- joblib
|
||||||
- "packaging>=22.0"
|
- "packaging>=22.0"
|
||||||
- pyyaml
|
|
||||||
- msgpack
|
|
||||||
- simplejson
|
|
||||||
- ujson
|
|
||||||
- orjson
|
|
||||||
- yappi
|
|
||||||
- --upgrade
|
- --upgrade
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -77,7 +68,6 @@ parameters:
|
|||||||
- clr
|
- clr
|
||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocm-cmake
|
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocm_smi_lib
|
- rocm_smi_lib
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
@@ -88,19 +78,15 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { pool: rocm-ci_ultra_build_pool, os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { pool: rocm-ci_medium_build_pool, os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { pool: rocm-ci_medium_build_pool, os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- gfx90a:
|
||||||
- { pool: rocm-ci_medium_build_pool, os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
target: gfx90a
|
||||||
#- { pool: rocm-ci_medium_build_pool, os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
|
||||||
- { pool: rocm-ci_ultra_build_pool, os: almalinux8, packageManager: dnf, target: gfx942 }
|
|
||||||
- { pool: rocm-ci_medium_build_pool, os: almalinux8, packageManager: dnf, target: gfx90a }
|
|
||||||
- { pool: rocm-ci_medium_build_pool, os: almalinux8, packageManager: dnf, target: gfx1201 }
|
|
||||||
- { pool: rocm-ci_medium_build_pool, os: almalinux8, packageManager: dnf, target: gfx1100 }
|
|
||||||
#- { pool: rocm-ci_medium_build_pool, os: almalinux8, packageManager: dnf, target: gfx1030 }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
|
- gfx90a:
|
||||||
|
target: gfx90a
|
||||||
- name: downstreamComponentMatrix
|
- name: downstreamComponentMatrix
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -109,16 +95,17 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/rocblas
|
sparseCheckoutDir: projects/rocblas
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- hipBLASLt_build
|
gfx942:
|
||||||
|
- hipBLASLt_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- hipBLASLt_build_gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
timeoutInMinutes: 300
|
timeoutInMinutes: 300
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -132,11 +119,7 @@ jobs:
|
|||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
- name: DAY_STRING
|
- name: DAY_STRING
|
||||||
value: $[format('{0:ddMMyyyy}', pipeline.startTime)]
|
value: $[format('{0:ddMMyyyy}', pipeline.startTime)]
|
||||||
pool: ${{ job.pool }}
|
pool: ${{ variables.ULTRA_BUILD_POOL }}
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -144,22 +127,16 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
@@ -171,17 +148,22 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/bin"
|
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/bin"
|
||||||
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
||||||
- task: Bash@3
|
# Build and install gtest, lapack, hipBLAS-common
|
||||||
displayName: Build and install LAPACK
|
# $(Pipeline.Workspace)/deps is a temporary folder for the build process
|
||||||
inputs:
|
# $(Pipeline.Workspace)/s/deps is part of the hipBLASLt repo
|
||||||
targetType: inline
|
- script: mkdir $(Pipeline.Workspace)/deps
|
||||||
script: |
|
displayName: Create temp folder for external dependencies
|
||||||
mkdir -p $(Agent.BuildDirectory)/temp-deps
|
# hipBLASLt already has a CMake script for external deps, so we can just run that
|
||||||
cd $(Agent.BuildDirectory)/temp-deps
|
# https://github.com/ROCm/hipBLASLt/blob/develop/deps/CMakeLists.txt
|
||||||
# position-independent LAPACK is required for almalinux8 builds
|
- script: cmake $(Pipeline.Workspace)/s/deps
|
||||||
cmake -DBUILD_GTEST=OFF -DBUILD_LAPACK=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON $(Agent.BuildDirectory)/sparse/projects/hipblaslt/deps
|
displayName: Configure hipBLASLt external dependencies
|
||||||
make -j
|
workingDirectory: $(Pipeline.Workspace)/deps
|
||||||
sudo make install
|
- script: make
|
||||||
|
displayName: Build hipBLASLt external dependencies
|
||||||
|
workingDirectory: $(Pipeline.Workspace)/deps
|
||||||
|
- script: sudo make install
|
||||||
|
displayName: Install hipBLASLt external dependencies
|
||||||
|
workingDirectory: $(Pipeline.Workspace)/deps
|
||||||
- script: |
|
- script: |
|
||||||
mkdir -p $(CCACHE_DIR)
|
mkdir -p $(CCACHE_DIR)
|
||||||
echo "##vso[task.prependpath]/usr/lib/ccache"
|
echo "##vso[task.prependpath]/usr/lib/ccache"
|
||||||
@@ -189,44 +171,38 @@ jobs:
|
|||||||
- task: Cache@2
|
- task: Cache@2
|
||||||
displayName: Ccache caching
|
displayName: Ccache caching
|
||||||
inputs:
|
inputs:
|
||||||
key: hipBLASLt | ${{ job.os }} | ${{ job.target }} | $(DAY_STRING) | $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
key: hipBLASLt | $(Agent.OS) | ${{ job.target }} | $(DAY_STRING) | $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
path: $(CCACHE_DIR)
|
path: $(CCACHE_DIR)
|
||||||
restoreKeys: |
|
restoreKeys: |
|
||||||
hipBLASLt | ${{ job.os }} | ${{ job.target }} | $(DAY_STRING)
|
hipBLASLt | $(Agent.OS) | ${{ job.target }} | $(DAY_STRING)
|
||||||
hipBLASLt | ${{ job.os }} | ${{ job.target }}
|
hipBLASLt | $(Agent.OS) | ${{ job.target }}
|
||||||
hipBLASLt | ${{ job.os }}
|
hipBLASLt | $(Agent.OS)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/sparse/projects/hipblaslt
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/sparse/projects/hipblaslt/build
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_INCLUDE_PATH=$(Agent.BuildDirectory)/rocm/llvm/include
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
||||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||||
-DAMDGPU_TARGETS=${{ job.target }}
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
-DTensile_LOGIC=
|
||||||
|
-DTensile_CPU_THREADS=
|
||||||
|
-DTensile_LIBRARY_FORMAT=msgpack
|
||||||
|
-DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm"
|
||||||
-DBUILD_CLIENTS_TESTS=ON
|
-DBUILD_CLIENTS_TESTS=ON
|
||||||
-DHIPBLASLT_ENABLE_ROCROLLER=ON
|
|
||||||
-DHIPBLASLT_ENABLE_FETCH=ON
|
|
||||||
-DHIPBLASLT_ENABLE_BLIS=OFF
|
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -244,9 +220,9 @@ jobs:
|
|||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
||||||
timeoutInMinutes: 300
|
timeoutInMinutes: 300
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
@@ -262,7 +238,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -271,16 +246,12 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
preTargetFilter: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
||||||
@@ -288,7 +259,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './hipblaslt-test'
|
testExecutable: './hipblaslt-test'
|
||||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes --gtest_filter=*pre_checkin*'
|
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes --gtest_filter=*pre_checkin*'
|
||||||
|
|||||||
@@ -61,12 +61,12 @@ parameters:
|
|||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
# - { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
# - { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
@@ -76,9 +76,7 @@ jobs:
|
|||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -80,11 +80,9 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -141,12 +139,12 @@ jobs:
|
|||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -156,7 +154,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -80,15 +80,16 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/rocfft
|
sparseCheckoutDir: projects/rocfft
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- hipRAND_build
|
gfx942:
|
||||||
|
- hipRAND_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- hipRAND_build_gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -183,7 +184,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
preTargetFilter: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hipSOLVER
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -85,15 +66,12 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: hipSOLVER_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -104,21 +82,18 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
# build external gtest and lapack
|
# build external gtest and lapack
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: external
|
componentName: external
|
||||||
cmakeBuildDir: '$(Agent.BuildDirectory)/s/deps/build'
|
cmakeBuildDir: '$(Build.SourcesDirectory)/deps/build'
|
||||||
cmakeSourceDir: '$(Agent.BuildDirectory)/s/deps'
|
cmakeSourceDir: '$(Build.SourcesDirectory)/deps'
|
||||||
installDir: '$(Pipeline.Workspace)/deps-install'
|
installDir: '$(Pipeline.Workspace)/deps-install'
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DBUILD_BOOST=OFF
|
-DBUILD_BOOST=OFF
|
||||||
@@ -137,10 +112,8 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -150,14 +123,13 @@ jobs:
|
|||||||
# extraCopyDirectories:
|
# extraCopyDirectories:
|
||||||
# - deps-install
|
# - deps-install
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: hipSOLVER_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: hipSOLVER_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -167,14 +139,12 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
@@ -182,12 +152,10 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hipSOLVER
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './hipsolver-test'
|
testExecutable: './hipsolver-test'
|
||||||
testParameters: '--gtest_filter="*checkin*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_filter="*checkin*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hipSPARSE
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -33,11 +14,13 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
- cmake
|
||||||
- gfortran
|
|
||||||
- git
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- libfftw3-dev
|
|
||||||
- ninja-build
|
- ninja-build
|
||||||
|
- libboost-program-options-dev
|
||||||
|
- googletest
|
||||||
|
- libfftw3-dev
|
||||||
|
- git
|
||||||
|
- gfortran
|
||||||
|
- libgtest-dev
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -66,31 +49,19 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- gfx90a:
|
||||||
#- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
target: gfx90a
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- name: downstreamComponentMatrix
|
- gfx90a:
|
||||||
type: object
|
target: gfx90a
|
||||||
default:
|
|
||||||
- hipSPARSELt:
|
|
||||||
name: hipSPARSELt
|
|
||||||
sparseCheckoutDir: projects/hipsparselt
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- hipSPARSE_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: hipSPARSE_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -102,57 +73,42 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/rocm/share/rocm/cmake/
|
||||||
-DBUILD_CLIENTS_TESTS=ON
|
-DBUILD_CLIENTS_TESTS=ON
|
||||||
-DBUILD_CLIENTS_SAMPLES=OFF
|
-DBUILD_CLIENTS_SAMPLES=OFF
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: hipSPARSE
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: hipSPARSE
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
publish: false
|
publish: false
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
||||||
parameters:
|
parameters:
|
||||||
sourceDir: $(Agent.BuildDirectory)/s/build/clients
|
sourceDir: $(Build.SourcesDirectory)/build/clients
|
||||||
contentsString: matrices/**
|
contentsString: matrices/**
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
artifactName: testMatrices
|
artifactName: testMatrices
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
# parameters:
|
# parameters:
|
||||||
@@ -160,14 +116,13 @@ jobs:
|
|||||||
# environment: test
|
# environment: test
|
||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: hipSPARSE_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: hipSPARSE_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -177,31 +132,23 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hipSPARSE
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './hipsparse-test'
|
testExecutable: './hipsparse-test'
|
||||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
@@ -210,15 +157,3 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
environment: test
|
environment: test
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: hipSPARSELt
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -40,12 +21,10 @@ parameters:
|
|||||||
- gfortran
|
- gfortran
|
||||||
- libgfortran5
|
- libgfortran5
|
||||||
- libopenblas-dev
|
- libopenblas-dev
|
||||||
- liblapack-dev
|
|
||||||
- name: pipModules
|
- name: pipModules
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- joblib
|
- joblib
|
||||||
- msgpack
|
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -54,7 +33,6 @@ parameters:
|
|||||||
- hipSPARSE
|
- hipSPARSE
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocBLAS
|
- rocBLAS
|
||||||
- rocm-cmake
|
|
||||||
- rocm_smi_lib
|
- rocm_smi_lib
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
@@ -68,7 +46,6 @@ parameters:
|
|||||||
- llvm-project
|
- llvm-project
|
||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
- hipBLASLt
|
- hipBLASLt
|
||||||
- rocm-cmake
|
|
||||||
- rocBLAS
|
- rocBLAS
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
@@ -79,17 +56,15 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
|
target: gfx942
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
|
target: gfx942
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: hipSPARSELt_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -111,37 +86,25 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
# ignore sparse checkout for monorepo case, we want access to hipblaslt directory
|
|
||||||
# sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
# NOTE: content between `---` is for transition support between old/new build systems
|
|
||||||
# and should be removed once transition is complete.
|
|
||||||
# -----------------------------
|
|
||||||
# Build and install gtest and lapack
|
# Build and install gtest and lapack
|
||||||
# $(Pipeline.Workspace)/deps is a temporary folder for the build process
|
# $(Pipeline.Workspace)/deps is a temporary folder for the build process
|
||||||
# $(Pipeline.Workspace)/s/deps is part of the hipSPARSELt repo
|
# $(Pipeline.Workspace)/s/deps is part of the hipSPARSELt repo
|
||||||
- script: mkdir -p $(Pipeline.Workspace)/deps
|
- script: mkdir $(Pipeline.Workspace)/deps
|
||||||
displayName: Create temp folder for external dependencies
|
displayName: Create temp folder for external dependencies
|
||||||
# hipSPARSELt already has a CMake script for external deps, so we can just run that
|
# hipSPARSELt already has a CMake script for external deps, so we can just run that
|
||||||
# https://github.com/ROCm/hipSPARSELt/blob/develop/deps/CMakeLists.txt
|
# https://github.com/ROCm/hipSPARSELt/blob/develop/deps/CMakeLists.txt
|
||||||
- ${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
- script: cmake $(Pipeline.Workspace)/s/deps
|
||||||
script: cmake $(Pipeline.Workspace)/s/projects/hipsparselt/deps
|
|
||||||
${{ else }}:
|
|
||||||
script: cmake $(Pipeline.Workspace)/s/deps
|
|
||||||
displayName: Configure hipSPARSELt external dependencies
|
displayName: Configure hipSPARSELt external dependencies
|
||||||
workingDirectory: $(Pipeline.Workspace)/deps
|
workingDirectory: $(Pipeline.Workspace)/deps
|
||||||
- script: make
|
- script: make
|
||||||
@@ -150,52 +113,28 @@ jobs:
|
|||||||
- script: sudo make install
|
- script: sudo make install
|
||||||
displayName: Install hipSPARSELt external dependencies
|
displayName: Install hipSPARSELt external dependencies
|
||||||
workingDirectory: $(Pipeline.Workspace)/deps
|
workingDirectory: $(Pipeline.Workspace)/deps
|
||||||
# -----------------------------
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
# NOTE: the following options are old build only
|
|
||||||
# and can be removed after full transition to new build
|
|
||||||
# -DAMDGPU_TARGETS=${{ job.target }}
|
|
||||||
# -DCMAKE_Fortran_COMPILER=f95
|
|
||||||
# -DTensile_LOGIC=
|
|
||||||
# -DTensile_CPU_THREADS=
|
|
||||||
# -DTensile_LIBRARY_FORMAT=msgpack
|
|
||||||
# -DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
|
||||||
# -DBUILD_CLIENTS_TESTS=ON
|
|
||||||
# -DBUILD_USE_LOCAL_TENSILE=OFF
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
||||||
-DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm"
|
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
|
||||||
-DAMDGPU_TARGETS=${{ job.target }}
|
|
||||||
-DCMAKE_Fortran_COMPILER=f95
|
-DCMAKE_Fortran_COMPILER=f95
|
||||||
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
-DTensile_LOGIC=
|
-DTensile_LOGIC=
|
||||||
-DTensile_CPU_THREADS=
|
-DTensile_CPU_THREADS=
|
||||||
-DTensile_LIBRARY_FORMAT=msgpack
|
-DTensile_LIBRARY_FORMAT=msgpack
|
||||||
|
-DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm"
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DBUILD_CLIENTS_TESTS=ON
|
-DBUILD_CLIENTS_TESTS=ON
|
||||||
-DBUILD_USE_LOCAL_TENSILE=OFF
|
|
||||||
-DHIPSPARSELT_ENABLE_FETCH=ON
|
|
||||||
-GNinja
|
-GNinja
|
||||||
${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
|
||||||
cmakeSourceDir: $(Build.SourcesDirectory)/projects/hipsparselt
|
|
||||||
cmakeBuildDir: $(Build.SourcesDirectory)/projects/hipsparselt
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -211,15 +150,13 @@ jobs:
|
|||||||
- TENSILE_ROCM_OFFLOAD_BUNDLER_PATH:::/home/user/workspace/rocm/llvm/bin/clang-offload-bundler
|
- TENSILE_ROCM_OFFLOAD_BUNDLER_PATH:::/home/user/workspace/rocm/llvm/bin/clang-offload-bundler
|
||||||
installLatestCMake: true
|
installLatestCMake: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: hipSPARSELt_test_${{ job.target }}
|
||||||
timeoutInMinutes: 120
|
dependsOn: hipSPARSELt_build_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -229,30 +166,22 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: hipSPARSELt
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './hipsparselt-test'
|
testExecutable: './hipsparselt-test'
|
||||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes --gtest_filter=*pre_checkin*'
|
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes --gtest_filter=*pre_checkin*'
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ jobs:
|
|||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/rocm/llvm
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/rocm/llvm
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DHIPTENSOR_BUILD_TESTS=ON
|
-DHIPTENSOR_BUILD_TESTS=ON
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ parameters:
|
|||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt }
|
- { os: ubuntu2204, packageManager: apt }
|
||||||
# - { os: ubuntu2404, packageManager: apt }
|
- { os: ubuntu2404, packageManager: apt }
|
||||||
- { os: almalinux8, packageManager: dnf }
|
- { os: almalinux8, packageManager: dnf }
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -67,6 +67,7 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
|
skipLlvmSymlink: true
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
|
|||||||
@@ -1,251 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: origami
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
|
||||||
# and dependencies are pulled from same pipeline
|
|
||||||
- name: aggregatePipeline
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
- wget
|
|
||||||
- python3
|
|
||||||
- python3-dev
|
|
||||||
- python3-pip
|
|
||||||
- libgtest-dev
|
|
||||||
- libboost-filesystem-dev
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- name: pipModules
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- nanobind>=2.0.0
|
|
||||||
- name: rocmDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- rocm-cmake
|
|
||||||
- rocminfo
|
|
||||||
- ROCR-Runtime
|
|
||||||
- rocprofiler-register
|
|
||||||
- name: rocmTestDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- rocm-cmake
|
|
||||||
- rocminfo
|
|
||||||
- ROCR-Runtime
|
|
||||||
- rocprofiler-register
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt }
|
|
||||||
- { os: almalinux8, packageManager: dnf }
|
|
||||||
testJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
|
||||||
- name: downstreamComponentMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- hipBLASLt:
|
|
||||||
name: hipBLASLt
|
|
||||||
sparseCheckoutDir: projects/hipblaslt
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- origami_build
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: origami_build_${{ job.os }}
|
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
- name: ROCM_PATH
|
|
||||||
value: $(Agent.BuildDirectory)/rocm
|
|
||||||
pool:
|
|
||||||
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
pipModules: ${{ parameters.pipModules }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
|
||||||
-DORIGAMI_BUILD_SHARED_LIBS=ON
|
|
||||||
-DORIGAMI_ENABLE_PYTHON=ON
|
|
||||||
-DORIGAMI_BUILD_TESTING=ON
|
|
||||||
-GNinja
|
|
||||||
- ${{ if ne(job.os, 'almalinux8') }}:
|
|
||||||
- task: PublishPipelineArtifact@1
|
|
||||||
displayName: 'Publish Build Directory Artifact'
|
|
||||||
inputs:
|
|
||||||
targetPath: '$(Agent.BuildDirectory)/s/build'
|
|
||||||
artifact: '${{ parameters.componentName }}_${{ job.os }}_build_dir'
|
|
||||||
publishLocation: 'pipeline'
|
|
||||||
- task: PublishPipelineArtifact@1
|
|
||||||
displayName: 'Publish Python Source Artifact'
|
|
||||||
inputs:
|
|
||||||
targetPath: '$(Agent.BuildDirectory)/s/python'
|
|
||||||
artifact: '${{ parameters.componentName }}_${{ job.os }}_python_src'
|
|
||||||
publishLocation: 'pipeline'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
|
||||||
- job: origami_test_${{ job.os }}_${{ job.target }}
|
|
||||||
timeoutInMinutes: 120
|
|
||||||
dependsOn: origami_build_${{ job.os }}
|
|
||||||
condition:
|
|
||||||
and(succeeded(),
|
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
|
||||||
)
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool: ${{ job.target }}_test_pool
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
pipModules: ${{ parameters.pipModules }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
|
||||||
parameters:
|
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- task: DownloadPipelineArtifact@2
|
|
||||||
displayName: 'Download Build Directory Artifact'
|
|
||||||
inputs:
|
|
||||||
artifact: '${{ parameters.componentName }}_${{ job.os }}_build_dir'
|
|
||||||
path: '$(Agent.BuildDirectory)/s/build'
|
|
||||||
- task: DownloadPipelineArtifact@2
|
|
||||||
displayName: 'Download Python Source Artifact'
|
|
||||||
inputs:
|
|
||||||
artifact: '${{ parameters.componentName }}_${{ job.os }}_python_src'
|
|
||||||
path: '$(Agent.BuildDirectory)/s/python'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
|
||||||
testExecutable: './origami-tests'
|
|
||||||
testParameters: '--yaml origami-tests.yaml --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
|
||||||
- script: |
|
|
||||||
set -e
|
|
||||||
export PYTHONPATH=$(Agent.BuildDirectory)/s/build/python:$PYTHONPATH
|
|
||||||
|
|
||||||
echo "--- Running origami_test.py ---"
|
|
||||||
python3 $(Agent.BuildDirectory)/s/python/origami_test.py
|
|
||||||
|
|
||||||
echo "--- Running origami_grid_test.py ---"
|
|
||||||
python3 $(Agent.BuildDirectory)/s/python/origami_grid_test.py
|
|
||||||
displayName: 'Run Python Binding Tests'
|
|
||||||
condition: succeeded()
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
pipModules: ${{ parameters.pipModules }}
|
|
||||||
environment: test
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
@@ -15,6 +15,7 @@ parameters:
|
|||||||
default:
|
default:
|
||||||
- cmake
|
- cmake
|
||||||
- git
|
- git
|
||||||
|
- googletest
|
||||||
- libboost-program-options-dev
|
- libboost-program-options-dev
|
||||||
- libdrm-dev
|
- libdrm-dev
|
||||||
- libfftw3-dev
|
- libfftw3-dev
|
||||||
@@ -76,23 +77,19 @@ jobs:
|
|||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
- name: HIP_ROCCLR_HOME
|
- name: HIP_ROCCLR_HOME
|
||||||
value: $(Build.BinariesDirectory)/rocm
|
value: $(Build.BinariesDirectory)/rocm
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool: ${{ variables.HIGH_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
submoduleBehaviour: recursive
|
submoduleBehaviour: recursive
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
@@ -104,11 +101,12 @@ jobs:
|
|||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
||||||
|
-DHALF_INCLUDE_DIR=$(Agent.BuildDirectory)/rocm/include
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DBUILD_TESTS=ON
|
-DBUILD_TESTS=ON
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/rocm/share/rocm/cmake;$(Agent.BuildDirectory)/rocm/libexec/hipify
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/rocm/share/rocm/cmake;$(Agent.BuildDirectory)/rocm/libexec/hipify
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rdc
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -52,7 +33,6 @@ parameters:
|
|||||||
- clr
|
- clr
|
||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
- hipBLASLt
|
- hipBLASLt
|
||||||
- hipRAND
|
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocBLAS
|
- rocBLAS
|
||||||
- rocm-cmake
|
- rocm-cmake
|
||||||
@@ -63,7 +43,6 @@ parameters:
|
|||||||
- rocprofiler
|
- rocprofiler
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- rocprofiler-sdk
|
- rocprofiler-sdk
|
||||||
- rocRAND
|
|
||||||
- ROCR-Runtime
|
- ROCR-Runtime
|
||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -95,11 +74,7 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
- job: rdc_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -110,22 +85,16 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
parameters:
|
|
||||||
cmakeVersion: '3.25.0'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
# Build grpc
|
# Build grpc
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'git clone grpc'
|
displayName: 'git clone grpc'
|
||||||
@@ -135,7 +104,6 @@ jobs:
|
|||||||
workingDirectory: $(Build.SourcesDirectory)
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
cmakeBuildDir: $(Build.SourcesDirectory)/grpc/build
|
cmakeBuildDir: $(Build.SourcesDirectory)/grpc/build
|
||||||
cmakeSourceDir: $(Build.SourcesDirectory)/grpc
|
cmakeSourceDir: $(Build.SourcesDirectory)/grpc
|
||||||
installDir: $(Build.SourcesDirectory)/bin
|
installDir: $(Build.SourcesDirectory)/bin
|
||||||
@@ -149,7 +117,6 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DGRPC_ROOT="$(Build.SourcesDirectory)/bin"
|
-DGRPC_ROOT="$(Build.SourcesDirectory)/bin"
|
||||||
@@ -159,12 +126,9 @@ jobs:
|
|||||||
-DAMDGPU_TARGETS=${{ job.target }}
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -172,14 +136,13 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
- job: rdc_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
dependsOn: rdc_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -193,7 +156,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -207,8 +169,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Setup test environment
|
displayName: Setup test environment
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -86,7 +86,8 @@ jobs:
|
|||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -73,7 +73,8 @@ jobs:
|
|||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
- name: HIP_ROCCLR_HOME
|
- name: HIP_ROCCLR_HOME
|
||||||
value: $(Build.BinariesDirectory)/rocm
|
value: $(Build.BinariesDirectory)/rocm
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -33,15 +33,17 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
- cmake
|
||||||
- git
|
|
||||||
- gfortran
|
|
||||||
- libdrm-dev
|
|
||||||
- libmsgpack-dev
|
|
||||||
- libopenblas-dev
|
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- python3-pip
|
|
||||||
- python3-venv
|
- python3-venv
|
||||||
|
- git
|
||||||
|
- libmsgpack-dev
|
||||||
|
- gfortran
|
||||||
|
- libopenblas-dev
|
||||||
|
- googletest
|
||||||
|
- libgtest-dev
|
||||||
- wget
|
- wget
|
||||||
|
- python3-pip
|
||||||
|
- libdrm-dev
|
||||||
- name: pipModules
|
- name: pipModules
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -50,17 +52,18 @@ parameters:
|
|||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- aomp
|
|
||||||
- clr
|
|
||||||
- hipBLAS-common
|
|
||||||
- hipBLASLt
|
|
||||||
- llvm-project
|
|
||||||
- rocm-cmake
|
- rocm-cmake
|
||||||
- rocm-core
|
- llvm-project
|
||||||
- rocm_smi_lib
|
- ROCR-Runtime
|
||||||
|
- clr
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- ROCR-Runtime
|
- rocm_smi_lib
|
||||||
|
- rocm-core
|
||||||
|
- aomp
|
||||||
|
- aomp-extras
|
||||||
|
- hipBLAS-common
|
||||||
|
- hipBLASLt
|
||||||
- roctracer
|
- roctracer
|
||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -70,7 +73,6 @@ parameters:
|
|||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
- hipBLASLt
|
- hipBLASLt
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocm-cmake
|
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- rocm_smi_lib
|
- rocm_smi_lib
|
||||||
@@ -81,56 +83,44 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- gfx90a:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
target: gfx90a
|
||||||
#- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
|
||||||
#- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
|
- gfx90a:
|
||||||
|
target: gfx90a
|
||||||
- name: downstreamComponentMatrix
|
- name: downstreamComponentMatrix
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- rocSPARSE:
|
|
||||||
name: rocSPARSE
|
|
||||||
sparseCheckoutDir: projects/rocsparse
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- rocBLAS_build
|
|
||||||
# rocSOLVER depends on both rocBLAS and rocPRIM
|
# rocSOLVER depends on both rocBLAS and rocPRIM
|
||||||
# for a unified build, rocBLAS will be the one to call rocSOLVER
|
# for a unified build, rocBLAS will be the one to call rocSOLVER
|
||||||
# - rocSOLVER:
|
- rocSOLVER:
|
||||||
# name: rocSOLVER
|
name: rocSOLVER
|
||||||
# sparseCheckoutDir: projects/rocsolver
|
sparseCheckoutDir: projects/rocsolver
|
||||||
# skipUnifiedBuild: 'false'
|
|
||||||
# buildDependsOn:
|
|
||||||
# - rocBLAS_build
|
|
||||||
# unifiedBuild:
|
|
||||||
# downstreamAggregateNames: rocBLAS+rocPRIM
|
|
||||||
# buildDependsOn:
|
|
||||||
# - rocBLAS_build
|
|
||||||
# - rocPRIM_build
|
|
||||||
# temporary rocblas->hipblas downstream path while the SOLVERs are disabled
|
|
||||||
- hipBLAS:
|
|
||||||
name: hipBLAS
|
|
||||||
sparseCheckoutDir: projects/hipblas
|
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- rocBLAS_build
|
gfx942:
|
||||||
|
- rocBLAS_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocBLAS_build_gfx90a
|
||||||
|
unifiedBuild:
|
||||||
|
downstreamAggregateNames: rocBLAS+rocPRIM
|
||||||
|
buildDependsOn:
|
||||||
|
gfx942:
|
||||||
|
- rocBLAS_build_gfx942
|
||||||
|
- rocPRIM_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocBLAS_build_gfx90a
|
||||||
|
- rocPRIM_build_gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -143,10 +133,6 @@ jobs:
|
|||||||
- name: ROCM_PATH
|
- name: ROCM_PATH
|
||||||
value: $(Agent.BuildDirectory)/rocm
|
value: $(Agent.BuildDirectory)/rocm
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -154,55 +140,50 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-latest.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aocl.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aocl.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/sparse/projects/rocblas
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/sparse/projects/rocblas/build
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm/llvm;$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
-DCMAKE_TOOLCHAIN_FILE=toolchain-linux.cmake
|
||||||
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm/llvm;$(Agent.BuildDirectory)/rocm
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
-DGPU_TARGETS=${{ job.target }}
|
||||||
|
-DTensile_CODE_OBJECT_VERSION=default
|
||||||
|
-DTensile_LOGIC=asm_full
|
||||||
|
-DTensile_SEPARATE_ARCHITECTURES=ON
|
||||||
|
-DTensile_LAZY_LIBRARY_LOADING=ON
|
||||||
|
-DTensile_LIBRARY_FORMAT=msgpack
|
||||||
-DBUILD_CLIENTS_TESTS=ON
|
-DBUILD_CLIENTS_TESTS=ON
|
||||||
|
-DBUILD_CLIENTS_BENCHMARKS=OFF
|
||||||
|
-DBUILD_CLIENTS_SAMPLES=OFF
|
||||||
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -217,9 +198,8 @@ jobs:
|
|||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
||||||
timeoutInMinutes: 120
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
@@ -233,7 +213,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -242,16 +221,12 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
preTargetFilter: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
||||||
@@ -259,7 +234,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './rocblas-test'
|
testExecutable: './rocblas-test'
|
||||||
testParameters: '--yaml rocblas_smoke.yaml --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--yaml rocblas_smoke.yaml --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
@@ -277,11 +251,11 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
${{ if parameters.unifiedBuild }}:
|
${{ if parameters.unifiedBuild }}:
|
||||||
buildDependsOn: ${{ component.unifiedBuild.buildDependsOn }}
|
buildDependsOn: ${{ component.unifiedBuild.buildDependsOn }}
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ component.unifiedBuild.downstreamAggregateNames }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ component.unifiedBuild.downstreamAggregateNames }}
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
buildDependsOn: ${{ component.buildDependsOn }}
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
||||||
|
triggerDownstreamJobs: true
|
||||||
|
unifiedBuild: ${{ parameters.unifiedBuild }}
|
||||||
|
|||||||
@@ -8,25 +8,6 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
- name: rocPyDecodeRepo
|
|
||||||
type: string
|
|
||||||
default: rocpydecode_repo
|
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -75,23 +56,10 @@ parameters:
|
|||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
||||||
- name: downstreamComponentMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- rocPyDecode:
|
|
||||||
name: rocPyDecode
|
|
||||||
sparseCheckoutDir: ''
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- rocDecode_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -115,15 +83,12 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
@@ -204,15 +169,3 @@ jobs:
|
|||||||
registerROCmPackages: true
|
registerROCmPackages: true
|
||||||
environment: test
|
environment: test
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.rocPyDecodeRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
|
|||||||
@@ -86,15 +86,16 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/hipfft
|
sparseCheckoutDir: projects/hipfft
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- rocFFT_build
|
gfx942:
|
||||||
|
- rocFFT_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocFFT_build_gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_ubuntu2204_${{ job.target }} # todo: un-hardcode OS
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -151,12 +152,12 @@ jobs:
|
|||||||
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
||||||
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_ubuntu2204_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_ubuntu2204_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -166,7 +167,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ parameters:
|
|||||||
- numpy
|
- numpy
|
||||||
- tomli
|
- tomli
|
||||||
- scipy
|
- scipy
|
||||||
- pybind11
|
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -60,12 +60,12 @@ parameters:
|
|||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
# - { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
# - { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942, shard: 1, shardCount: 3 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942, shard: 1, shardCount: 3 }
|
||||||
@@ -82,29 +82,36 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/rocthrust
|
sparseCheckoutDir: projects/rocthrust
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- rocPRIM_build
|
gfx942:
|
||||||
|
- rocPRIM_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocPRIM_build_gfx90a
|
||||||
- hipCUB:
|
- hipCUB:
|
||||||
name: hipCUB
|
name: hipCUB
|
||||||
sparseCheckoutDir: projects/hipcub
|
sparseCheckoutDir: projects/hipcub
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- rocPRIM_build
|
gfx942:
|
||||||
|
- rocPRIM_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocPRIM_build_gfx90a
|
||||||
# rocSOLVER depends on both rocBLAS and rocPRIM
|
# rocSOLVER depends on both rocBLAS and rocPRIM
|
||||||
# for a unified build, rocBLAS will be the one to call rocSOLVER
|
# for a unified build, rocBLAS will be the one to call rocSOLVER
|
||||||
# - rocSOLVER:
|
- rocSOLVER:
|
||||||
# name: rocSOLVER
|
name: rocSOLVER
|
||||||
# sparseCheckoutDir: projects/rocsolver
|
sparseCheckoutDir: projects/rocsolver
|
||||||
# skipUnifiedBuild: 'true'
|
skipUnifiedBuild: 'true'
|
||||||
# buildDependsOn:
|
buildDependsOn:
|
||||||
# - rocPRIM_build
|
gfx942:
|
||||||
|
- rocPRIM_build_gfx942
|
||||||
|
gfx90a:
|
||||||
|
- rocPRIM_build_gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -170,7 +177,7 @@ jobs:
|
|||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}_shard_${{ job.shard }}
|
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}_${{ job.shard }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
|
|||||||
@@ -5,22 +5,6 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -52,7 +36,6 @@ parameters:
|
|||||||
- clr
|
- clr
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocDecode
|
- rocDecode
|
||||||
- rocJPEG
|
|
||||||
- rocm-cmake
|
- rocm-cmake
|
||||||
- rocm-core
|
- rocm-core
|
||||||
- rocminfo
|
- rocminfo
|
||||||
@@ -63,19 +46,19 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
|
- gfx90a:
|
||||||
|
target: gfx90a
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
|
- gfx90a:
|
||||||
|
target: gfx90a
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocPyDecode_build_${{ job.target }}
|
- job: rocPyDecode_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -90,20 +73,16 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Save Python Package Paths'
|
displayName: 'Save Python Package Paths'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -210,13 +189,12 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Pipeline Wheel Files'
|
displayName: 'Download Pipeline Wheel Files'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
itemPattern: '**/*.whl'
|
itemPattern: '**/*.whl'
|
||||||
targetPath: $(Agent.BuildDirectory)
|
targetPath: $(Agent.BuildDirectory)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -243,17 +221,25 @@ jobs:
|
|||||||
- task: CMake@1
|
- task: CMake@1
|
||||||
displayName: 'rocPyDecode Test CMake Flags'
|
displayName: 'rocPyDecode Test CMake Flags'
|
||||||
inputs:
|
inputs:
|
||||||
workingDirectory: $(Agent.BuildDirectory)/rocm/share/rocpydecode/tests
|
|
||||||
cmakeArgs: >-
|
cmakeArgs: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(PYTHON_USER_SITE)/pybind11;$(PYTHON_DIST_PACKAGES)/pybind11;$(PYBIND11_PATH)
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(PYTHON_USER_SITE)/pybind11;$(PYTHON_DIST_PACKAGES)/pybind11;$(PYBIND11_PATH)
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
-DGPU_TARGETS=${{ job.target }}
|
||||||
.
|
..
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: rocPyDecode
|
componentName: rocPyDecode
|
||||||
testDir: $(Agent.BuildDirectory)/rocm/share/rocpydecode/tests
|
testDir: $(Build.SourcesDirectory)/build
|
||||||
|
# sudo required for pip install but screws up permissions for next pipeline run
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Clean up test environment
|
||||||
|
condition: always()
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
pip uninstall -y rocPyDecode
|
||||||
|
pip uninstall -y hip-python
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -78,21 +78,16 @@ parameters:
|
|||||||
sparseCheckoutDir: projects/hiprand
|
sparseCheckoutDir: projects/hiprand
|
||||||
skipUnifiedBuild: 'false'
|
skipUnifiedBuild: 'false'
|
||||||
buildDependsOn:
|
buildDependsOn:
|
||||||
- rocRAND_build
|
gfx942:
|
||||||
- MIOpen:
|
- rocRAND_build_gfx942
|
||||||
name: MIOpen
|
gfx90a:
|
||||||
sparseCheckoutDir: projects/miopen
|
- rocRAND_build_gfx90a
|
||||||
skipUnifiedBuild: 'true'
|
|
||||||
buildDependsOn:
|
|
||||||
- rocRAND_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -33,11 +33,13 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
- cmake
|
||||||
- gfortran
|
|
||||||
- git
|
|
||||||
- libfmt-dev
|
|
||||||
- libsuitesparse-dev
|
|
||||||
- ninja-build
|
- ninja-build
|
||||||
|
- libsuitesparse-dev
|
||||||
|
- gfortran
|
||||||
|
- libfmt-dev
|
||||||
|
- git
|
||||||
|
- googletest
|
||||||
|
- libgtest-dev
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -70,64 +72,31 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- gfx90a:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
target: gfx90a
|
||||||
#- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
|
||||||
#- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- name: downstreamComponentMatrix
|
- gfx90a:
|
||||||
type: object
|
target: gfx90a
|
||||||
default:
|
|
||||||
- hipBLAS:
|
|
||||||
name: hipBLAS
|
|
||||||
sparseCheckoutDir: projects/hipblas
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- rocSOLVER_build
|
|
||||||
# hipSOLVER depends on both rocSOLVER and rocSPARSE
|
|
||||||
# for a unified build, rocSOLVER will be the one to call hipSOLVER
|
|
||||||
# - hipSOLVER:
|
|
||||||
# name: hipSOLVER
|
|
||||||
# sparseCheckoutDir: projects/hipsolver
|
|
||||||
# skipUnifiedBuild: 'false'
|
|
||||||
# buildDependsOn:
|
|
||||||
# - rocSOLVER_build
|
|
||||||
# unifiedBuild:
|
|
||||||
# downstreamAggregateNames: rocSOLVER+rocSPARSE
|
|
||||||
# buildDependsOn:
|
|
||||||
# - rocSOLVER_build
|
|
||||||
# - rocSPARSE_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -139,15 +108,10 @@ jobs:
|
|||||||
targetType: inline
|
targetType: inline
|
||||||
script: git clone --depth 1 --branch v3.9.1 https://github.com/Reference-LAPACK/lapack
|
script: git clone --depth 1 --branch v3.9.1 https://github.com/Reference-LAPACK/lapack
|
||||||
workingDirectory: '$(Build.SourcesDirectory)'
|
workingDirectory: '$(Build.SourcesDirectory)'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
@@ -155,10 +119,8 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: lapack
|
componentName: lapack
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
|
||||||
-DCMAKE_Fortran_FLAGS=-fno-optimize-sibling-calls
|
-DCMAKE_Fortran_FLAGS=-fno-optimize-sibling-calls
|
||||||
-DBUILD_TESTING=OFF
|
-DBUILD_TESTING=OFF
|
||||||
-DCBLAS=ON
|
-DCBLAS=ON
|
||||||
@@ -169,9 +131,8 @@ jobs:
|
|||||||
installDir: '$(Pipeline.Workspace)/deps-install'
|
installDir: '$(Pipeline.Workspace)/deps-install'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Pipeline.Workspace)/deps-install;$(Agent.BuildDirectory)/vendor
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Pipeline.Workspace)/deps-install
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
||||||
-DAMDGPU_TARGETS=${{ job.target }}
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
@@ -183,15 +144,12 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -201,8 +159,8 @@ jobs:
|
|||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
@@ -216,7 +174,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -224,16 +181,12 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
preTargetFilter: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
${{ if parameters.triggerDownstreamJobs }}:
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
||||||
@@ -241,7 +194,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: ${{ parameters.componentName }}
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './rocsolver-test'
|
testExecutable: './rocsolver-test'
|
||||||
testParameters: '--gtest_filter="*checkin*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_filter="*checkin*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
@@ -250,19 +202,3 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
environment: test
|
environment: test
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
${{ if parameters.unifiedBuild }}:
|
|
||||||
buildDependsOn: ${{ component.unifiedBuild.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ component.unifiedBuild.downstreamAggregateNames }}
|
|
||||||
${{ else }}:
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocSPARSE
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -32,25 +13,27 @@ parameters:
|
|||||||
- name: aptPackages
|
- name: aptPackages
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
|
||||||
- gfortran
|
|
||||||
- git
|
|
||||||
- libboost-program-options-dev
|
|
||||||
- libdrm-dev
|
|
||||||
- libfftw3-dev
|
|
||||||
- ninja-build
|
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
- cmake
|
||||||
|
- ninja-build
|
||||||
|
- libboost-program-options-dev
|
||||||
|
- googletest
|
||||||
|
- libfftw3-dev
|
||||||
|
- git
|
||||||
|
- gfortran
|
||||||
|
- libgtest-dev
|
||||||
|
- libdrm-dev
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- rocBLAS
|
|
||||||
- rocm-cmake
|
- rocm-cmake
|
||||||
|
- llvm-project
|
||||||
|
- ROCR-Runtime
|
||||||
|
- clr
|
||||||
|
- rocBLAS
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocPRIM
|
- rocPRIM
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- ROCR-Runtime
|
|
||||||
- roctracer
|
- roctracer
|
||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
@@ -69,39 +52,19 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- gfx90a:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
target: gfx90a
|
||||||
#- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- name: downstreamComponentMatrix
|
- gfx90a:
|
||||||
type: object
|
target: gfx90a
|
||||||
default:
|
|
||||||
- hipSPARSE:
|
|
||||||
name: hipSPARSE
|
|
||||||
sparseCheckoutDir: projects/hipsparse
|
|
||||||
skipUnifiedBuild: 'false'
|
|
||||||
buildDependsOn:
|
|
||||||
- rocSPARSE_build
|
|
||||||
# hipSOLVER depends on both rocSOLVER and rocSPARSE
|
|
||||||
# for a unified build, rocSOLVER will be the one to call hipSOLVER
|
|
||||||
# - hipSOLVER:
|
|
||||||
# name: hipSOLVER
|
|
||||||
# sparseCheckoutDir: projects/hipsolver
|
|
||||||
# skipUnifiedBuild: 'true'
|
|
||||||
# buildDependsOn:
|
|
||||||
# - rocSPARSE_build
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: rocSPARSE_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -114,32 +77,22 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor
|
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
||||||
-DCMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang++
|
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/hipcc
|
||||||
-DCMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/bin/amdclang
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
-DAMDGPU_TARGETS=${{ job.target }}
|
-DAMDGPU_TARGETS=${{ job.target }}
|
||||||
@@ -150,27 +103,22 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: rocSPARSE
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: rocSPARSE
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
publish: false
|
publish: false
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-prepare-package.yml
|
||||||
parameters:
|
parameters:
|
||||||
sourceDir: $(Agent.BuildDirectory)/s/build/clients
|
sourceDir: $(Build.SourcesDirectory)/build/clients
|
||||||
contentsString: matrices/**
|
contentsString: matrices/**
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
artifactName: testMatrices
|
artifactName: testMatrices
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -178,15 +126,14 @@ jobs:
|
|||||||
extraEnvVars:
|
extraEnvVars:
|
||||||
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: rocSPARSE_test_${{ job.target }}
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 90
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: rocSPARSE_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -196,31 +143,23 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocSPARSE
|
||||||
os: ${{ job.os }}
|
|
||||||
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
testDir: '$(Agent.BuildDirectory)/rocm/bin'
|
||||||
testExecutable: './rocsparse-test'
|
testExecutable: './rocsparse-test'
|
||||||
testParameters: '--gtest_filter="*quick*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_filter="*quick*" --gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
@@ -229,15 +168,3 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
environment: test
|
environment: test
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
- ${{ each component in parameters.downstreamComponentMatrix }}:
|
|
||||||
- ${{ if not(and(parameters.unifiedBuild, eq(component.skipUnifiedBuild, 'true'))) }}:
|
|
||||||
- template: /.azuredevops/components/${{ component.name }}.yml@pipelines_repo
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ component.sparseCheckoutDir }}
|
|
||||||
buildDependsOn: ${{ component.buildDependsOn }}
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}+${{ parameters.componentName }}
|
|
||||||
triggerDownstreamJobs: true
|
|
||||||
unifiedBuild: ${{ parameters.unifiedBuild }}
|
|
||||||
|
|||||||
@@ -64,12 +64,12 @@ parameters:
|
|||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
# - { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
# - { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
||||||
testJobs:
|
testJobs:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
||||||
@@ -79,9 +79,7 @@ jobs:
|
|||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
${{ if parameters.buildDependsOn }}:
|
||||||
dependsOn:
|
dependsOn: ${{ parameters.buildDependsOn[job.target] }}
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool: ${{ variables.HIGH_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocm-core
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -46,10 +27,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocm_core_${{ job.os }}
|
- job: rocm_core_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(job.os, 'ubuntu2404') }}:
|
${{ if eq(job.os, 'ubuntu2404') }}:
|
||||||
vmImage: 'ubuntu-24.04'
|
vmImage: 'ubuntu-24.04'
|
||||||
@@ -73,10 +50,8 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -90,12 +65,9 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
|||||||
@@ -14,11 +14,9 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- cmake
|
- cmake
|
||||||
- libdw-dev
|
|
||||||
- libglfw3-dev
|
- libglfw3-dev
|
||||||
- libmsgpack-dev
|
- libmsgpack-dev
|
||||||
- libtbb-dev
|
- libtbb-dev
|
||||||
- libva-amdgpu-dev
|
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
@@ -35,21 +33,16 @@ parameters:
|
|||||||
- hipRAND
|
- hipRAND
|
||||||
- hipSOLVER
|
- hipSOLVER
|
||||||
- hipSPARSE
|
- hipSPARSE
|
||||||
- hipTensor
|
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- MIOpen
|
|
||||||
- rocBLAS
|
- rocBLAS
|
||||||
- rocFFT
|
- rocFFT
|
||||||
- rocJPEG
|
|
||||||
- rocPRIM
|
- rocPRIM
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- rocprofiler-sdk
|
|
||||||
- ROCR-Runtime
|
- ROCR-Runtime
|
||||||
- rocRAND
|
- rocRAND
|
||||||
- rocSOLVER
|
- rocSOLVER
|
||||||
- rocSPARSE
|
- rocSPARSE
|
||||||
- rocThrust
|
- rocThrust
|
||||||
- rocWMMA
|
|
||||||
- name: rocmTestDependencies
|
- name: rocmTestDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -64,22 +57,18 @@ parameters:
|
|||||||
- hipRAND
|
- hipRAND
|
||||||
- hipSOLVER
|
- hipSOLVER
|
||||||
- hipSPARSE
|
- hipSPARSE
|
||||||
- hipTensor
|
|
||||||
- llvm-project
|
- llvm-project
|
||||||
- rocBLAS
|
- rocBLAS
|
||||||
- rocFFT
|
- rocFFT
|
||||||
- rocminfo
|
- rocminfo
|
||||||
- rocPRIM
|
- rocPRIM
|
||||||
- rocJPEG
|
|
||||||
- rocprofiler-register
|
- rocprofiler-register
|
||||||
- rocprofiler-sdk
|
|
||||||
- ROCR-Runtime
|
- ROCR-Runtime
|
||||||
- rocRAND
|
- rocRAND
|
||||||
- rocSOLVER
|
- rocSOLVER
|
||||||
- rocSPARSE
|
- rocSPARSE
|
||||||
- rocThrust
|
- rocThrust
|
||||||
- roctracer
|
- roctracer
|
||||||
- rocWMMA
|
|
||||||
|
|
||||||
- name: jobMatrix
|
- name: jobMatrix
|
||||||
type: object
|
type: object
|
||||||
@@ -108,10 +97,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
registerROCmPackages: true
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
parameters:
|
|
||||||
cmakeVersion: '3.25.0'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -173,10 +158,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
registerROCmPackages: true
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
parameters:
|
|
||||||
cmakeVersion: '3.25.0'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -203,7 +184,7 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
componentName: rocm-examples
|
componentName: rocm-examples
|
||||||
testDir: $(Build.SourcesDirectory)/build
|
testDir: $(Build.SourcesDirectory)/build
|
||||||
testParameters: '--output-on-failure --force-new-ctest-process --output-junit test_output.xml'
|
testParameters: '--output-on-failure --force-new-ctest-process --output-junit test_output.xml --exclude-regex "rocfft_callback"'
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -1,181 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocm_libraries
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
|
||||||
# and dependencies are pulled from same pipeline
|
|
||||||
- name: aggregatePipeline
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- ccache
|
|
||||||
- gfortran
|
|
||||||
- git
|
|
||||||
- libdrm-dev
|
|
||||||
- liblapack-dev
|
|
||||||
- libmsgpack-dev
|
|
||||||
- libnuma-dev
|
|
||||||
- libopenblas-dev
|
|
||||||
- ninja-build
|
|
||||||
- python3-pip
|
|
||||||
- python3-venv
|
|
||||||
- name: pipModules
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- joblib
|
|
||||||
- "packaging>=22.0"
|
|
||||||
- pytest
|
|
||||||
- pytest-cmake
|
|
||||||
- --upgrade
|
|
||||||
- name: rocmDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- aomp
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- rocminfo
|
|
||||||
- rocm-cmake
|
|
||||||
- rocm_smi_lib
|
|
||||||
- rocprofiler-register
|
|
||||||
- ROCR-Runtime
|
|
||||||
- roctracer
|
|
||||||
- name: rocmTestDependencies
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- aomp
|
|
||||||
- clr
|
|
||||||
- llvm-project
|
|
||||||
- rocminfo
|
|
||||||
- rocm_smi_lib
|
|
||||||
- rocprofiler-register
|
|
||||||
- ROCR-Runtime
|
|
||||||
- roctracer
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { pool: rocm-ci_ultra_build_pool, os: ubuntu2204, packageManager: apt, target: gfx942 }
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
|
||||||
timeoutInMinutes: 300
|
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
- name: DAY_STRING
|
|
||||||
value: $[format('{0:ddMMyyyy}', pipeline.startTime)]
|
|
||||||
pool: ${{ job.pool }}
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-cmake-custom.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
pipModules: ${{ parameters.pipModules }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- gtest
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- script: |
|
|
||||||
mkdir -p $(CCACHE_DIR)
|
|
||||||
echo "##vso[task.prependpath]/usr/lib/ccache"
|
|
||||||
displayName: Update path for ccache
|
|
||||||
- task: Cache@2
|
|
||||||
displayName: Ccache caching
|
|
||||||
inputs:
|
|
||||||
key: rocm-libraries | ${{ job.os }} | ${{ job.target }} | $(DAY_STRING) | $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
|
||||||
path: $(CCACHE_DIR)
|
|
||||||
restoreKeys: |
|
|
||||||
rocm-libraries | ${{ job.os }} | ${{ job.target }} | $(DAY_STRING)
|
|
||||||
rocm-libraries | ${{ job.os }} | ${{ job.target }}
|
|
||||||
rocm-libraries | ${{ job.os }}
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Add paths for CMake and Python site-packages binaries
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: |
|
|
||||||
USER_BASE=$(python3 -m site --user-base)
|
|
||||||
echo "##vso[task.prependpath]$USER_BASE/bin"
|
|
||||||
echo "##vso[task.setvariable variable=PytestCmakePath]$USER_BASE/share/Pytest/cmake"
|
|
||||||
displayName: Set cmake configure paths
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-D CMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor;$(PytestCmakePath)
|
|
||||||
-D CMAKE_INCLUDE_PATH=$(Agent.BuildDirectory)/rocm/llvm/include
|
|
||||||
-D CMAKE_CXX_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
|
||||||
-D CMAKE_C_COMPILER=$(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
|
||||||
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
|
|
||||||
-D CMAKE_C_COMPILER_LAUNCHER=ccache
|
|
||||||
-G Ninja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
|
||||||
- ${{ if eq(job.os, 'ubuntu2204') }}:
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
pipModules: ${{ parameters.pipModules }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
extraPaths: /home/user/workspace/rocm/llvm/bin:/home/user/workspace/rocm/bin
|
|
||||||
installLatestCMake: true
|
|
||||||
extraCopyDirectories:
|
|
||||||
- deps
|
|
||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocm_smi_lib
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -51,10 +32,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocm_smi_lib_build_${{ job.os }}
|
- job: rocm_smi_lib_build_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(job.os, 'ubuntu2404') }}:
|
${{ if eq(job.os, 'ubuntu2404') }}:
|
||||||
vmImage: 'ubuntu-24.04'
|
vmImage: 'ubuntu-24.04'
|
||||||
@@ -78,10 +55,8 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -90,26 +65,22 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
# parameters:
|
# parameters:
|
||||||
# aptPackages: ${{ parameters.aptPackages }}
|
# aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: rocm_smi_lib_test_${{ job.os }}_${{ job.target }}
|
- job: rocm_smi_lib_test_${{ job.os }}_${{ job.target }}
|
||||||
dependsOn: rocm_smi_lib_build_${{ job.os }}
|
dependsOn: rocm_smi_lib_build_${{ job.os }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -119,7 +90,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -133,9 +103,9 @@ jobs:
|
|||||||
runRocminfo: false
|
runRocminfo: false
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocm_smi_lib
|
||||||
testDir: '$(Agent.BuildDirectory)'
|
testDir: '$(Agent.BuildDirectory)'
|
||||||
testExecutable: 'sudo ./rocm/share/rocm_smi/rsmitst_tests/rsmitst'
|
testExecutable: './rocm/share/rocm_smi/rsmitst_tests/rsmitst'
|
||||||
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
testParameters: '--gtest_output=xml:./test_output.xml --gtest_color=yes'
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocminfo
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -59,11 +40,7 @@ parameters:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}
|
- job: rocminfo_build_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-22.04'
|
vmImage: 'ubuntu-22.04'
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
${{ if eq(job.os, 'almalinux8') }}:
|
||||||
@@ -85,18 +62,15 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
|
skipLlvmSymlink: true
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -105,23 +79,19 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: rocminfo_test_${{ job.target }}
|
- job: rocminfo_test_${{ job.target }}
|
||||||
dependsOn: rocminfo_build_${{ job.os }}
|
dependsOn: rocminfo_build_${{ job.os }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -146,14 +116,12 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
parameters:
|
parameters:
|
||||||
runRocminfo: false
|
runRocminfo: false
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocminfo
|
||||||
testDir: '$(Agent.BuildDirectory)'
|
testDir: '$(Agent.BuildDirectory)'
|
||||||
testExecutable: './rocm/bin/rocminfo'
|
testExecutable: './rocm/bin/rocminfo'
|
||||||
testParameters: ''
|
testParameters: ''
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocprofiler-compute
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -43,29 +24,24 @@ parameters:
|
|||||||
default:
|
default:
|
||||||
- astunparse==1.6.2
|
- astunparse==1.6.2
|
||||||
- colorlover
|
- colorlover
|
||||||
- dash-bootstrap-components
|
- "dash>=1.12.0"
|
||||||
- dash-svg
|
|
||||||
- "dash>=3.0.0"
|
|
||||||
- kaleido==0.2.1
|
|
||||||
- matplotlib
|
- matplotlib
|
||||||
- "numpy>=1.17.5"
|
- "numpy>=1.17.5"
|
||||||
- "pandas>=1.4.3"
|
- "pandas>=1.4.3"
|
||||||
- plotext
|
|
||||||
- plotille
|
|
||||||
- pymongo
|
- pymongo
|
||||||
- pyyaml
|
- pyyaml
|
||||||
- setuptools
|
|
||||||
- sqlalchemy
|
|
||||||
- tabulate
|
- tabulate
|
||||||
- textual
|
|
||||||
- textual_plotext
|
|
||||||
- textual-fspicker
|
|
||||||
- tqdm
|
- tqdm
|
||||||
|
- dash-svg
|
||||||
|
- dash-bootstrap-components
|
||||||
|
- kaleido
|
||||||
|
- setuptools
|
||||||
|
- plotille
|
||||||
- mock
|
- mock
|
||||||
- pytest
|
- pytest
|
||||||
- pytest-cov
|
- pytest-cov
|
||||||
- pytest-xdist
|
- pytest-xdist
|
||||||
- name: rocmTestDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- amdsmi
|
- amdsmi
|
||||||
@@ -85,23 +61,43 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
buildJobs:
|
buildJobs:
|
||||||
- gfx942:
|
- gfx942-staging:
|
||||||
|
name: gfx942_staging
|
||||||
target: gfx942
|
target: gfx942
|
||||||
- gfx90a:
|
dependencySource: staging
|
||||||
|
- gfx942-mainline:
|
||||||
|
name: gfx942_mainline
|
||||||
|
target: gfx942
|
||||||
|
dependencySource: mainline
|
||||||
|
- gfx90a-staging:
|
||||||
|
name: gfx90a_staging
|
||||||
target: gfx90a
|
target: gfx90a
|
||||||
|
dependencySource: staging
|
||||||
|
- gfx90a-mainline:
|
||||||
|
name: gfx90a_mainline
|
||||||
|
target: gfx90a
|
||||||
|
dependencySource: mainline
|
||||||
testJobs:
|
testJobs:
|
||||||
- gfx942:
|
- gfx942-staging:
|
||||||
|
name: gfx942_staging
|
||||||
target: gfx942
|
target: gfx942
|
||||||
- gfx90a:
|
dependencySource: staging
|
||||||
|
- gfx942-mainline:
|
||||||
|
name: gfx942_mainline
|
||||||
|
target: gfx942
|
||||||
|
dependencySource: mainline
|
||||||
|
- gfx90a-staging:
|
||||||
|
name: gfx90a_staging
|
||||||
target: gfx90a
|
target: gfx90a
|
||||||
|
dependencySource: staging
|
||||||
|
- gfx90a-mainline:
|
||||||
|
name: gfx90a_mainline
|
||||||
|
target: gfx90a
|
||||||
|
dependencySource: mainline
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocprofiler_compute_build_${{ job.target }}
|
- job: rocprofiler_compute_build_${{ job.name }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -118,19 +114,25 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
|
dependencySource: ${{ job.dependencySource }}
|
||||||
|
gpuTarget: ${{ job.target }}
|
||||||
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: ${{ job.dependencySource }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
artifactName: ${{ job.dependencySource }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -139,15 +141,14 @@ jobs:
|
|||||||
# pipModules: ${{ parameters.pipModules }}
|
# pipModules: ${{ parameters.pipModules }}
|
||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: rocprofiler_compute_test_${{ job.target }}
|
- job: rocprofiler_compute_test_${{ job.name }}
|
||||||
timeoutInMinutes: 120
|
timeoutInMinutes: 120
|
||||||
dependsOn: rocprofiler_compute_build_${{ job.target }}
|
dependsOn: rocprofiler_compute_build_${{ job.name }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -164,22 +165,6 @@ jobs:
|
|||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
pipModules: ${{ parameters.pipModules }}
|
pipModules: ${{ parameters.pipModules }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
|
||||||
parameters:
|
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
|
||||||
parameters:
|
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add en_US.UTF-8 locale
|
displayName: Add en_US.UTF-8 locale
|
||||||
inputs:
|
inputs:
|
||||||
@@ -188,6 +173,20 @@ jobs:
|
|||||||
sudo locale-gen en_US.UTF-8
|
sudo locale-gen en_US.UTF-8
|
||||||
sudo update-locale
|
sudo update-locale
|
||||||
locale -a
|
locale -a
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
|
parameters:
|
||||||
|
postTargetFilter: ${{ job.dependencySource }}
|
||||||
|
gpuTarget: ${{ job.target }}
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
|
parameters:
|
||||||
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
|
dependencySource: ${{ job.dependencySource }}
|
||||||
|
gpuTarget: ${{ job.target }}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add ROCm binaries to PATH
|
displayName: Add ROCm binaries to PATH
|
||||||
inputs:
|
inputs:
|
||||||
@@ -210,7 +209,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocprofiler-compute
|
||||||
testDir: $(Build.BinariesDirectory)/libexec/rocprofiler-compute
|
testDir: $(Build.BinariesDirectory)/libexec/rocprofiler-compute
|
||||||
testExecutable: ROCM_PATH=$(Agent.BuildDirectory)/rocm ctest
|
testExecutable: ROCM_PATH=$(Agent.BuildDirectory)/rocm ctest
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocprofiler-register
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -46,10 +27,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocprofiler_register_${{ job.os }}
|
- job: rocprofiler_register_${{ job.os }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(job.os, 'ubuntu2404') }}:
|
${{ if eq(job.os, 'ubuntu2404') }}:
|
||||||
vmImage: 'ubuntu-24.04'
|
vmImage: 'ubuntu-24.04'
|
||||||
@@ -73,10 +50,9 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocprofiler-register
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
useAmdclang: false
|
useAmdclang: false
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
@@ -86,16 +62,12 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocprofiler-register
|
||||||
testDir: $(Agent.BuildDirectory)/s/build
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
|
|||||||
@@ -1,29 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocprofiler-sdk
|
|
||||||
- name: checkoutRepo
|
- name: checkoutRepo
|
||||||
type: string
|
type: string
|
||||||
default: 'self'
|
default: 'self'
|
||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -33,12 +14,10 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- build-essential
|
- build-essential
|
||||||
- cmake
|
|
||||||
- libdrm-amdgpu-dev
|
- libdrm-amdgpu-dev
|
||||||
- libdrm-dev
|
- libdrm-dev
|
||||||
- libdw-dev
|
- libdw-dev
|
||||||
- libelf-dev
|
- libelf-dev
|
||||||
- libsqlite3-dev
|
|
||||||
- libva-dev
|
- libva-dev
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- pkg-config
|
- pkg-config
|
||||||
@@ -92,14 +71,11 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocprofiler_sdk_build_${{ job.target }}
|
- job: rocprofiler_sdk_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
pool: ${{ variables.MEDIUM_BUILD_POOL }}
|
pool:
|
||||||
|
vmImage: ${{ variables.BASE_BUILD_POOL }}
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
@@ -112,7 +88,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -120,8 +95,6 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add Python site-packages binaries to path
|
displayName: Add Python site-packages binaries to path
|
||||||
inputs:
|
inputs:
|
||||||
@@ -131,7 +104,6 @@ jobs:
|
|||||||
echo "##vso[task.prependpath]$USER_BASE/bin"
|
echo "##vso[task.prependpath]$USER_BASE/bin"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DROCPROFILER_BUILD_TESTS=ON
|
-DROCPROFILER_BUILD_TESTS=ON
|
||||||
@@ -141,12 +113,9 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
# - template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
@@ -156,14 +125,13 @@ jobs:
|
|||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
# registerROCmPackages: true
|
# registerROCmPackages: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: rocprofiler_sdk_test_${{ job.target }}
|
- job: rocprofiler_sdk_test_${{ job.target }}
|
||||||
dependsOn: rocprofiler_sdk_build_${{ job.target }}
|
dependsOn: rocprofiler_sdk_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -181,7 +149,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
@@ -189,8 +156,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add Python and ROCm binaries to path
|
displayName: Add Python and ROCm binaries to path
|
||||||
inputs:
|
inputs:
|
||||||
@@ -201,7 +166,6 @@ jobs:
|
|||||||
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/bin"
|
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/bin"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/rocm
|
||||||
-DROCPROFILER_BUILD_TESTS=ON
|
-DROCPROFILER_BUILD_TESTS=ON
|
||||||
@@ -212,8 +176,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH}}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH}}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocprofiler-sdk
|
||||||
testDir: $(Agent.BuildDirectory)/s/build
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
|
|||||||
@@ -6,25 +6,6 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: componentName
|
|
||||||
type: string
|
|
||||||
default: rocprofiler-systems
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -56,7 +37,6 @@ parameters:
|
|||||||
- libpfm4-dev
|
- libpfm4-dev
|
||||||
- libtool
|
- libtool
|
||||||
- libopenmpi-dev
|
- libopenmpi-dev
|
||||||
- libsqlite3-dev
|
|
||||||
- m4
|
- m4
|
||||||
- ninja-build
|
- ninja-build
|
||||||
- openmpi-bin
|
- openmpi-bin
|
||||||
@@ -106,10 +86,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: rocprofiler_systems_build_${{ job.target }}
|
- job: rocprofiler_systems_build_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -128,7 +104,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -160,16 +135,12 @@ jobs:
|
|||||||
-DCMAKE_CXX_FLAGS=-I$(Agent.BuildDirectory)/rocm/include/rocjpeg
|
-DCMAKE_CXX_FLAGS=-I$(Agent.BuildDirectory)/rocm/include/rocjpeg
|
||||||
-DGPU_TARGETS=${{ job.target }}
|
-DGPU_TARGETS=${{ job.target }}
|
||||||
-GNinja
|
-GNinja
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/docker-container.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -179,14 +150,13 @@ jobs:
|
|||||||
registerROCmPackages: true
|
registerROCmPackages: true
|
||||||
extraPaths: /home/user/workspace/rocm/bin:/home/user/workspace/rocm/llvm/bin
|
extraPaths: /home/user/workspace/rocm/bin:/home/user/workspace/rocm/llvm/bin
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: rocprofiler_systems_test_${{ job.target }}
|
- job: rocprofiler_systems_test_${{ job.target }}
|
||||||
dependsOn: rocprofiler_systems_build_${{ job.target }}
|
dependsOn: rocprofiler_systems_build_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
timeoutInMinutes: 180
|
timeoutInMinutes: 180
|
||||||
@@ -215,8 +185,6 @@ jobs:
|
|||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add ROCm binaries to PATH
|
displayName: Add ROCm binaries to PATH
|
||||||
inputs:
|
inputs:
|
||||||
@@ -226,11 +194,8 @@ jobs:
|
|||||||
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
echo "##vso[task.prependpath]$(Agent.BuildDirectory)/rocm/llvm/bin"
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/s/projects/rocprofiler-systems
|
|
||||||
# build flags reference: https://rocm.docs.amd.com/projects/omnitrace/en/latest/install/install.html
|
# build flags reference: https://rocm.docs.amd.com/projects/omnitrace/en/latest/install/install.html
|
||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_INSTALL_PREFIX=$(Agent.BuildDirectory)/rocprofiler-systems
|
|
||||||
-DROCPROFSYS_USE_PYTHON=ON
|
|
||||||
-DROCPROFSYS_BUILD_TESTING=ON
|
-DROCPROFSYS_BUILD_TESTING=ON
|
||||||
-DROCPROFSYS_BUILD_DYNINST=ON
|
-DROCPROFSYS_BUILD_DYNINST=ON
|
||||||
-DROCPROFSYS_BUILD_LIBUNWIND=ON
|
-DROCPROFSYS_BUILD_LIBUNWIND=ON
|
||||||
@@ -248,13 +213,11 @@ jobs:
|
|||||||
displayName: Set up rocprofiler-systems env
|
displayName: Set up rocprofiler-systems env
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: source $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems/setup-env.sh
|
script: source share/rocprofiler-systems/setup-env.sh
|
||||||
workingDirectory: $(Agent.BuildDirectory)/rocprofiler-systems/share/rocprofiler-systems
|
workingDirectory: build
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: rocprofiler-systems
|
||||||
testDir: $(Agent.BuildDirectory)/s/build/tests/
|
|
||||||
testParameters: '--output-on-failure'
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
|||||||
@@ -8,22 +8,6 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -86,10 +70,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -114,7 +94,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
||||||
parameters:
|
parameters:
|
||||||
dependencyList:
|
dependencyList:
|
||||||
@@ -129,8 +108,6 @@ jobs:
|
|||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
@@ -138,7 +115,6 @@ jobs:
|
|||||||
extraBuildFlags: >-
|
extraBuildFlags: >-
|
||||||
-DCMAKE_MODULE_PATH=$(Build.SourcesDirectory)/cmake_modules;$(Agent.BuildDirectory)/rocm/lib/cmake;$(Agent.BuildDirectory)/rocm/lib/cmake/hip;$(Agent.BuildDirectory)/rocm/lib64/cmake;$(Agent.BuildDirectory)/rocm/lib64/cmake/hip
|
-DCMAKE_MODULE_PATH=$(Build.SourcesDirectory)/cmake_modules;$(Agent.BuildDirectory)/rocm/lib/cmake;$(Agent.BuildDirectory)/rocm/lib/cmake/hip;$(Agent.BuildDirectory)/rocm/lib64/cmake;$(Agent.BuildDirectory)/rocm/lib64/cmake/hip
|
||||||
-DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor"
|
-DCMAKE_PREFIX_PATH="$(Agent.BuildDirectory)/rocm;$(Agent.BuildDirectory)/vendor"
|
||||||
-DROCM_PATH=$(Agent.BuildDirectory)/rocm
|
|
||||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||||
-DENABLE_LDCONFIG=OFF
|
-DENABLE_LDCONFIG=OFF
|
||||||
-DUSE_PROF_API=1
|
-DUSE_PROF_API=1
|
||||||
@@ -146,13 +122,10 @@ jobs:
|
|||||||
multithreadFlag: -- -j32
|
multithreadFlag: -- -j32
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
@@ -166,7 +139,6 @@ jobs:
|
|||||||
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
- HIP_ROCCLR_HOME:::/home/user/workspace/rocm
|
||||||
- ROCM_PATH:::/home/user/workspace/rocm
|
- ROCM_PATH:::/home/user/workspace/rocm
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
@@ -187,7 +159,6 @@ jobs:
|
|||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
||||||
parameters:
|
parameters:
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
aptPackages: ${{ parameters.aptPackages }}
|
||||||
@@ -195,7 +166,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
@@ -207,8 +177,6 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
@@ -8,22 +8,6 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
# monorepo related parameters
|
|
||||||
- name: sparseCheckoutDir
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: triggerDownstreamJobs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
- name: downstreamAggregateNames
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: buildDependsOn
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
- name: unifiedBuild
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -81,10 +65,6 @@ parameters:
|
|||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
${{ if parameters.buildDependsOn }}:
|
|
||||||
dependsOn:
|
|
||||||
- ${{ each build in parameters.buildDependsOn }}:
|
|
||||||
- ${{ build }}_${{ job.os }}_${{ job.target }}
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -107,7 +87,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: ${{ parameters.checkoutRepo }}
|
checkoutRepo: ${{ parameters.checkoutRepo }}
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
@@ -115,8 +94,6 @@ jobs:
|
|||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
# the linker flags will not affect ubuntu2204 builds as the paths do not exist
|
# the linker flags will not affect ubuntu2204 builds as the paths do not exist
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
||||||
parameters:
|
parameters:
|
||||||
@@ -132,13 +109,10 @@ jobs:
|
|||||||
-GNinja
|
-GNinja
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/manifest.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
sparseCheckoutDir: ${{ parameters.sparseCheckoutDir }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
@@ -149,14 +123,13 @@ jobs:
|
|||||||
# gpuTarget: ${{ job.target }}
|
# gpuTarget: ${{ job.target }}
|
||||||
# registerROCmPackages: true
|
# registerROCmPackages: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.unifiedBuild, False) }}:
|
|
||||||
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
- ${{ each job in parameters.jobMatrix.testJobs }}:
|
||||||
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
- job: ${{ parameters.componentName }}_test_${{ job.os }}_${{ job.target }}
|
||||||
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
dependsOn: ${{ parameters.componentName }}_build_${{ job.os }}_${{ job.target }}
|
||||||
condition:
|
condition:
|
||||||
and(succeeded(),
|
and(succeeded(),
|
||||||
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
eq(variables['ENABLE_${{ upper(job.target) }}_TESTS'], 'true'),
|
||||||
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), '${{ parameters.componentName }}')),
|
not(containsValue(split(variables['DISABLED_${{ upper(job.target) }}_TESTS'], ','), variables['Build.DefinitionName'])),
|
||||||
eq(${{ parameters.aggregatePipeline }}, False)
|
eq(${{ parameters.aggregatePipeline }}, False)
|
||||||
)
|
)
|
||||||
variables:
|
variables:
|
||||||
@@ -175,7 +148,6 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
preTargetFilter: ${{ parameters.componentName }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
@@ -185,12 +157,10 @@ jobs:
|
|||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
os: ${{ job.os }}
|
os: ${{ job.os }}
|
||||||
${{ if parameters.triggerDownstreamJobs }}:
|
|
||||||
downstreamAggregateNames: ${{ parameters.downstreamAggregateNames }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/gpu-diagnostics.yml
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/test.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ parameters.componentName }}
|
componentName: roctracer
|
||||||
testExecutable: $(Agent.BuildDirectory)/rocm/share/roctracer/run_tests.sh
|
testExecutable: $(Agent.BuildDirectory)/rocm/share/roctracer/run_tests.sh
|
||||||
testParameters: ''
|
testParameters: ''
|
||||||
testDir: $(Agent.BuildDirectory)
|
testDir: $(Agent.BuildDirectory)
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
|
dependencySource: staging
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Add ROCm binaries to PATH
|
displayName: Add ROCm binaries to PATH
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: catch2Version
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt}
|
|
||||||
- { os: almalinux8, packageManager: dnf}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: catch2_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-22.04'
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Clone catch2 ${{ parameters.catch2Version }}
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: git clone https://github.com/catchorg/Catch2.git -b ${{ parameters.catch2Version }}
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/Catch2/build
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/Catch2
|
|
||||||
useAmdclang: false
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-GNinja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: fmtlibVersion
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
- libfmt-dev
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt}
|
|
||||||
- { os: almalinux8, packageManager: dnf}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: fmtlib_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-22.04'
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Clone fmtlib ${{ parameters.fmtlibVersion }}
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: git clone https://github.com/fmtlib/fmt.git -b ${{ parameters.fmtlibVersion }}
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/fmt/build
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/fmt
|
|
||||||
useAmdclang: false
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-DFMT_SYSTEM_HEADERS=ON
|
|
||||||
-DFMT_INSTALL=ON
|
|
||||||
-DFMT_TEST=OFF
|
|
||||||
-GNinja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: libdivideVersion
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt}
|
|
||||||
- { os: almalinux8, packageManager: dnf}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: libdivide_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-22.04'
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Clone libdivide ${{ parameters.libdivideVersion }}
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: git clone https://github.com/ridiculousfish/libdivide.git -b ${{ parameters.libdivideVersion }}
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/libdivide/build
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/libdivide
|
|
||||||
useAmdclang: false
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-DLIBDIVIDE_BUILD_TESTS=OFF
|
|
||||||
-GNinja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
parameters:
|
|
||||||
- name: checkoutRepo
|
|
||||||
type: string
|
|
||||||
default: 'self'
|
|
||||||
- name: checkoutRef
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: spdlogVersion
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
- name: aptPackages
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
- cmake
|
|
||||||
- git
|
|
||||||
- ninja-build
|
|
||||||
|
|
||||||
- name: jobMatrix
|
|
||||||
type: object
|
|
||||||
default:
|
|
||||||
buildJobs:
|
|
||||||
- { os: ubuntu2204, packageManager: apt}
|
|
||||||
- { os: almalinux8, packageManager: dnf}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- ${{ each job in parameters.jobMatrix.buildJobs }}:
|
|
||||||
- job: spdlog_${{ job.os }}
|
|
||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
pool:
|
|
||||||
vmImage: 'ubuntu-22.04'
|
|
||||||
${{ if eq(job.os, 'almalinux8') }}:
|
|
||||||
container:
|
|
||||||
image: rocmexternalcicd.azurecr.io/manylinux228:latest
|
|
||||||
endpoint: ContainerService3
|
|
||||||
workspace:
|
|
||||||
clean: all
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-other.yml
|
|
||||||
parameters:
|
|
||||||
aptPackages: ${{ parameters.aptPackages }}
|
|
||||||
packageManager: ${{ job.packageManager }}
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-vendor.yml
|
|
||||||
parameters:
|
|
||||||
dependencyList:
|
|
||||||
- fmtlib
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Clone spdlog ${{ parameters.spdlogVersion }}
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: git clone https://github.com/gabime/spdlog.git -b ${{ parameters.spdlogVersion }}
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/build-cmake.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
cmakeBuildDir: $(Agent.BuildDirectory)/spdlog/build
|
|
||||||
cmakeSourceDir: $(Agent.BuildDirectory)/spdlog
|
|
||||||
useAmdclang: false
|
|
||||||
extraBuildFlags: >-
|
|
||||||
-DCMAKE_PREFIX_PATH=$(Agent.BuildDirectory)/vendor
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
-DSPDLOG_USE_STD_FORMAT=OFF
|
|
||||||
-DSPDLOG_FMT_EXTERNAL_HO=ON
|
|
||||||
-DSPDLOG_INSTALL=ON
|
|
||||||
-GNinja
|
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-upload.yml
|
|
||||||
parameters:
|
|
||||||
os: ${{ job.os }}
|
|
||||||
@@ -219,6 +219,7 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
|
dependencySource: staging
|
||||||
gpuTarget: $(JOB_GPU_TARGET)
|
gpuTarget: $(JOB_GPU_TARGET)
|
||||||
setupHIPLibrarySymlinks: true
|
setupHIPLibrarySymlinks: true
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
@@ -397,15 +398,18 @@ jobs:
|
|||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/preamble.yml
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Pipeline Wheel Files'
|
displayName: 'Download Pipeline Wheel Files'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
itemPattern: '**/*.whl'
|
itemPattern: '**/*.whl'
|
||||||
targetPath: $(Agent.BuildDirectory)
|
targetPath: $(Agent.BuildDirectory)
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-aqlprofile.yml
|
||||||
|
parameters:
|
||||||
|
dependencySource: staging
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
dependencyList: ${{ parameters.rocmTestDependencies }}
|
dependencyList: ${{ parameters.rocmTestDependencies }}
|
||||||
gpuTarget: $(JOB_GPU_TARGET)
|
gpuTarget: $(JOB_GPU_TARGET)
|
||||||
|
dependencySource: staging
|
||||||
|
skipLlvmSymlink: true
|
||||||
# get sources to run test scripts
|
# get sources to run test scripts
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: git clone upstream pytorch
|
displayName: git clone upstream pytorch
|
||||||
|
|||||||
@@ -3,21 +3,12 @@ parameters:
|
|||||||
- name: jobList
|
- name: jobList
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx942 }
|
- gfx942-staging:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx90a }
|
target: gfx942
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1201 }
|
source: staging
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1100 }
|
- gfx90a-staging:
|
||||||
- { os: ubuntu2204, packageManager: apt, target: gfx1030 }
|
target: gfx90a
|
||||||
- { os: ubuntu2404, packageManager: apt, target: gfx942 }
|
source: staging
|
||||||
- { os: ubuntu2404, packageManager: apt, target: gfx90a }
|
|
||||||
- { os: ubuntu2404, packageManager: apt, target: gfx1201 }
|
|
||||||
- { os: ubuntu2404, packageManager: apt, target: gfx1100 }
|
|
||||||
- { os: ubuntu2404, packageManager: apt, target: gfx1030 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx942 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx90a }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1201 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1100 }
|
|
||||||
- { os: almalinux8, packageManager: dnf, target: gfx1030 }
|
|
||||||
- name: rocmDependencies
|
- name: rocmDependencies
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
@@ -25,9 +16,9 @@ parameters:
|
|||||||
- amdsmi
|
- amdsmi
|
||||||
- aomp-extras
|
- aomp-extras
|
||||||
- aomp
|
- aomp
|
||||||
- clr
|
|
||||||
- composable_kernel
|
- composable_kernel
|
||||||
- half
|
- half
|
||||||
|
- HIP
|
||||||
- hip-tests
|
- hip-tests
|
||||||
- hipBLAS
|
- hipBLAS
|
||||||
- hipBLAS-common
|
- hipBLAS-common
|
||||||
@@ -92,8 +83,7 @@ schedules:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ each job in parameters.jobList }}:
|
- ${{ each job in parameters.jobList }}:
|
||||||
- job: nightly_${{ job.os }}_${{ job.target }}
|
- job: rocm_nightly_${{ job.target }}_${{ job.source }}
|
||||||
timeoutInMinutes: 120
|
|
||||||
variables:
|
variables:
|
||||||
- group: common
|
- group: common
|
||||||
- template: /.azuredevops/variables-global.yml
|
- template: /.azuredevops/variables-global.yml
|
||||||
@@ -116,9 +106,11 @@ jobs:
|
|||||||
displayName: System disk space before ROCm
|
displayName: System disk space before ROCm
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/dependencies-rocm.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
dependencySource: ${{ job.source }}
|
||||||
dependencyList: ${{ parameters.rocmDependencies }}
|
dependencyList: ${{ parameters.rocmDependencies }}
|
||||||
os: ${{ job.os }}
|
|
||||||
gpuTarget: ${{ job.target }}
|
gpuTarget: ${{ job.target }}
|
||||||
|
skipLibraryLinking: true
|
||||||
|
skipLlvmSymlink: true
|
||||||
- script: df -h
|
- script: df -h
|
||||||
displayName: System disk space after ROCm
|
displayName: System disk space after ROCm
|
||||||
- script: du -sh $(Agent.BuildDirectory)/rocm
|
- script: du -sh $(Agent.BuildDirectory)/rocm
|
||||||
@@ -131,7 +123,7 @@ jobs:
|
|||||||
includeRootFolder: false
|
includeRootFolder: false
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
tarCompression: gz
|
tarCompression: gz
|
||||||
archiveFile: $(Build.ArtifactStagingDirectory)/$(Build.DefinitionName)_$(Build.BuildNumber)_${{ job.os }}_${{ job.target }}.tar.gz
|
archiveFile: $(Build.ArtifactStagingDirectory)/$(Build.DefinitionName)_$(Build.BuildNumber)_ubuntu2204_${{ job.target }}.tar.gz
|
||||||
- script: du -sh $(Build.ArtifactStagingDirectory)
|
- script: du -sh $(Build.ArtifactStagingDirectory)
|
||||||
displayName: Compressed ROCm size
|
displayName: Compressed ROCm size
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
@@ -144,96 +136,5 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: echo "$(Build.DefinitionName)_$(Build.BuildNumber)_${{ job.os }}_${{ job.target }}.tar.gz" >> pipelineArtifacts.txt
|
script: echo "$(Build.DefinitionName)_$(Build.BuildNumber)_ubuntu2204_${{ job.target }}.tar.gz" >> pipelineArtifacts.txt
|
||||||
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/artifact-links.yml
|
||||||
- ${{ if eq(job.packageManager, 'apt') }}:
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Create Dockerfile
|
|
||||||
inputs:
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
targetType: inline
|
|
||||||
script: |
|
|
||||||
cat <<'EOF' > Dockerfile
|
|
||||||
${{ iif(eq(job.os, 'ubuntu2204'), 'FROM ubuntu:22.04', '') }}
|
|
||||||
${{ iif(eq(job.os, 'ubuntu2404'), 'FROM ubuntu:24.04', '') }}
|
|
||||||
|
|
||||||
WORKDIR /root
|
|
||||||
RUN mkdir rocm
|
|
||||||
|
|
||||||
RUN apt update \
|
|
||||||
&& apt upgrade -y \
|
|
||||||
&& apt install -y cmake curl git gcc g++ gpg lsb-release lsof ninja-build pkg-config python3 python3-pip wget zip libdrm-dev libelf-dev libgtest-dev libhsakmt-dev libhwloc-dev libnuma-dev libstdc++-12-dev libtbb-dev jq \
|
|
||||||
&& apt clean all
|
|
||||||
|
|
||||||
RUN PACKAGE_NAME=$(curl -s https://repo.radeon.com/rocm/apt/latest/pool/main/h/hsa-amd-aqlprofile/ | grep -oP "href=\"\K[^\"]*$(lsb_release -rs)[^\"]*\.deb") \
|
|
||||||
&& wget -nv --retry-connrefused https://repo.radeon.com/rocm/apt/latest/pool/main/h/hsa-amd-aqlprofile/$PACKAGE_NAME \
|
|
||||||
&& mkdir hsa-amd-aqlprofile \
|
|
||||||
&& dpkg-deb -R $PACKAGE_NAME hsa-amd-aqlprofile \
|
|
||||||
&& cp -R hsa-amd-aqlprofile/opt/rocm-*/* rocm
|
|
||||||
|
|
||||||
RUN ARTIFACT_URL="https://dev.azure.com/ROCm-CI/ROCm-CI/_apis/build/builds/$(Build.BuildId)/artifacts?artifactName=nightly${{ job.os }}${{ job.target }}&api-version=7.1" \
|
|
||||||
&& DOWNLOAD_URL=$(curl -s $ARTIFACT_URL | jq ".resource.downloadUrl" | tr -d '"') \
|
|
||||||
&& wget -nv --retry-connrefused $DOWNLOAD_URL -O nightly.zip \
|
|
||||||
&& unzip nightly.zip \
|
|
||||||
&& tar -xf nightly${{ job.os }}${{ job.target }}/rocm-nightly*${{ job.os }}*${{ job.target }}*.tar.gz -C rocm
|
|
||||||
|
|
||||||
RUN echo /root/rocm/lib | tee /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/llvm/lib | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/lib64 | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/llvm/lib64 | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN ldconfig -v
|
|
||||||
ENV PATH="$PATH:/root/rocm/bin"
|
|
||||||
ENTRYPOINT ["/bin/bash"]
|
|
||||||
EOF
|
|
||||||
cat Dockerfile
|
|
||||||
- ${{ elseif eq(job.packageManager, 'dnf') }}:
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Create Dockerfile
|
|
||||||
inputs:
|
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
|
||||||
targetType: inline
|
|
||||||
script: |
|
|
||||||
cat <<'EOF' > Dockerfile
|
|
||||||
${{ iif(eq(job.os, 'almalinux8'), 'FROM almalinux:8', '') }}
|
|
||||||
|
|
||||||
WORKDIR /root
|
|
||||||
RUN mkdir rocm
|
|
||||||
|
|
||||||
RUN dnf install -y cmake curl git gcc gcc-c++ gnupg2 redhat-lsb-core lsof pkgconf python3 python3-pip wget zip libdrm-devel elfutils-libelf-devel numactl-devel libstdc++-devel tbb-devel jq \
|
|
||||||
&& dnf clean all
|
|
||||||
|
|
||||||
RUN PACKAGE_NAME=$(curl -s https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/ | grep -oP "hsa-amd-aqlprofile-[^\"]+\.rpm" | head -n1) \
|
|
||||||
&& wget -nv --retry-connrefused https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/$PACKAGE_NAME \
|
|
||||||
&& mkdir hsa-amd-aqlprofile \
|
|
||||||
&& dnf -y install rpm-build cpio \
|
|
||||||
&& rpm2cpio $PACKAGE_NAME | (cd hsa-amd-aqlprofile && cpio -idmv) \
|
|
||||||
&& cp -R hsa-amd-aqlprofile/opt/rocm-*/* rocm
|
|
||||||
|
|
||||||
RUN ARTIFACT_URL="https://dev.azure.com/ROCm-CI/ROCm-CI/_apis/build/builds/$(Build.BuildId)/artifacts?artifactName=nightly${{ job.os }}${{ job.target }}&api-version=7.1" \
|
|
||||||
&& DOWNLOAD_URL=$(curl -s $ARTIFACT_URL | jq ".resource.downloadUrl" | tr -d '"') \
|
|
||||||
&& wget -nv --retry-connrefused $DOWNLOAD_URL -O nightly.zip \
|
|
||||||
&& UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE unzip nightly.zip \
|
|
||||||
&& tar -xf nightly${{ job.os }}${{ job.target }}/rocm-nightly*${{ job.os }}*${{ job.target }}*.tar.gz -C rocm
|
|
||||||
|
|
||||||
RUN echo /root/rocm/lib | tee /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/llvm/lib | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/lib64 | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN echo /root/rocm/llvm/lib64 | tee -a /etc/ld.so.conf.d/rocm-ci.conf
|
|
||||||
RUN ldconfig -v
|
|
||||||
ENV PATH="$PATH:/root/rocm/bin"
|
|
||||||
ENTRYPOINT ["/bin/bash"]
|
|
||||||
EOF
|
|
||||||
cat Dockerfile
|
|
||||||
- task: Docker@2
|
|
||||||
displayName: Build and upload Docker image
|
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
|
||||||
containerRegistry: ContainerService3
|
|
||||||
repository: 'nightly-${{ job.os }}-${{ job.target }}'
|
|
||||||
Dockerfile: '$(Agent.BuildDirectory)/Dockerfile'
|
|
||||||
buildContext: '$(Agent.BuildDirectory)'
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: '!! Docker Run Command !!'
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: echo "docker run -it --network=host --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined rocmexternalcicd.azurecr.io/nightly-${{ job.os }}-${{ job.target }}:$(Build.BuildId)" | tr '[:upper:]' '[:lower:]'
|
|
||||||
|
|||||||
147
.azuredevops/scripts/dependencyGraph.py
Normal file
147
.azuredevops/scripts/dependencyGraph.py
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
import os
|
||||||
|
import yaml
|
||||||
|
from graphviz import Digraph
|
||||||
|
|
||||||
|
# Set DEBUG to False for normal output, True for debug output
|
||||||
|
DEBUG = False
|
||||||
|
|
||||||
|
def debug_print(message):
|
||||||
|
if DEBUG:
|
||||||
|
print(message)
|
||||||
|
|
||||||
|
import os
|
||||||
|
import yaml
|
||||||
|
|
||||||
|
def extract_dependencies(exclude_nodes=[]):
|
||||||
|
dependencies = {}
|
||||||
|
debug_print("Extracting dependencies from YAML files...")
|
||||||
|
|
||||||
|
# Define a mapping of specific filenames to component names
|
||||||
|
component_name_mapping = {
|
||||||
|
'HIP.yml': 'clr', # Remap HIP.yml to clr in graph
|
||||||
|
}
|
||||||
|
|
||||||
|
script_directory = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
yaml_directory = os.path.join(script_directory, '..', 'components')
|
||||||
|
|
||||||
|
for filename in os.listdir(yaml_directory):
|
||||||
|
if filename.endswith(".yaml") or filename.endswith(".yml"):
|
||||||
|
debug_print(f"Processing file: {filename}")
|
||||||
|
try:
|
||||||
|
with open(os.path.join(yaml_directory, filename), 'r') as file:
|
||||||
|
data = yaml.safe_load(file) or {}
|
||||||
|
parameters = data.get('parameters', [])
|
||||||
|
|
||||||
|
# Check for both 'rocmDependencies' and 'rocmDependenciesAMD'
|
||||||
|
rocm_dependencies = next((param['default'] for param in parameters if param['name'] == 'rocmDependencies' or param['name'] == 'rocmDependenciesAMD'), [])
|
||||||
|
test_dependencies = next((param['default'] for param in parameters if param['name'] == 'rocmTestDependencies'), [])
|
||||||
|
|
||||||
|
unique_dependencies = list(set(rocm_dependencies + test_dependencies))
|
||||||
|
unique_dependencies = [dep for dep in unique_dependencies if dep not in exclude_nodes]
|
||||||
|
|
||||||
|
# Use the mapped component name if it exists
|
||||||
|
component_name = component_name_mapping.get(filename, os.path.splitext(filename)[0])
|
||||||
|
|
||||||
|
if component_name == 'MIOpen':
|
||||||
|
unique_dependencies.append('composable_kernel')
|
||||||
|
|
||||||
|
dependencies[component_name] = {
|
||||||
|
'dependencies': unique_dependencies
|
||||||
|
}
|
||||||
|
debug_print(f"Found unique dependencies for {component_name}: {unique_dependencies}")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Error processing {filename}: {e}")
|
||||||
|
|
||||||
|
return dependencies
|
||||||
|
|
||||||
|
def simplify_dependencies(graph):
|
||||||
|
simplified_graph = {}
|
||||||
|
|
||||||
|
for component, deps in graph.items():
|
||||||
|
if component not in simplified_graph:
|
||||||
|
simplified_graph[component] = set(deps) # Use a set for uniqueness
|
||||||
|
|
||||||
|
for dep in deps:
|
||||||
|
if dep in graph: # If the dependency has its own dependencies
|
||||||
|
for sub_dep in graph[dep]:
|
||||||
|
simplified_graph[component].discard(sub_dep) # Remove transitive dependencies
|
||||||
|
|
||||||
|
# Convert sets back to lists
|
||||||
|
for component in simplified_graph:
|
||||||
|
simplified_graph[component] = list(simplified_graph[component])
|
||||||
|
|
||||||
|
return simplified_graph
|
||||||
|
|
||||||
|
def build_dependency_graph(dependencies, exclude_nodes=None):
|
||||||
|
if exclude_nodes is None:
|
||||||
|
exclude_nodes = []
|
||||||
|
|
||||||
|
graph = {}
|
||||||
|
debug_print("Building dependency graph...")
|
||||||
|
|
||||||
|
for component, deps in dependencies.items():
|
||||||
|
if component in exclude_nodes:
|
||||||
|
continue # Skip excluded components
|
||||||
|
|
||||||
|
# Ensure uniqueness and prevent self-dependency
|
||||||
|
all_deps = [dep for dep in set(deps['dependencies']) if dep != component and dep not in exclude_nodes]
|
||||||
|
graph[component] = all_deps
|
||||||
|
debug_print(f"{component} -> {all_deps}")
|
||||||
|
|
||||||
|
# Simplify the dependencies to remove transitive dependencies
|
||||||
|
simplified_graph = simplify_dependencies(graph)
|
||||||
|
|
||||||
|
return simplified_graph
|
||||||
|
|
||||||
|
def build_full_dependency_tree(graph):
|
||||||
|
tree = {}
|
||||||
|
debug_print("Building full dependency tree...")
|
||||||
|
|
||||||
|
def dfs(component, visited):
|
||||||
|
if component in visited:
|
||||||
|
return
|
||||||
|
visited.add(component)
|
||||||
|
for dep in graph.get(component, []):
|
||||||
|
# Prevent self-dependency in the tree
|
||||||
|
if dep != component:
|
||||||
|
if dep not in tree:
|
||||||
|
tree[dep] = []
|
||||||
|
if component not in tree[dep]: # Prevent duplicates
|
||||||
|
tree[dep].append(component)
|
||||||
|
dfs(dep, visited)
|
||||||
|
|
||||||
|
for component in graph.keys():
|
||||||
|
dfs(component, set())
|
||||||
|
|
||||||
|
return tree
|
||||||
|
|
||||||
|
def visualize_graph(graph):
|
||||||
|
dot = Digraph()
|
||||||
|
|
||||||
|
for component, deps in graph.items():
|
||||||
|
for dep in deps:
|
||||||
|
dot.edge(component, dep)
|
||||||
|
|
||||||
|
script_directory = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
|
dot.render(os.path.join(script_directory, 'dependency_graph'), format='png', cleanup=True) # Save as PNG
|
||||||
|
|
||||||
|
def main():
|
||||||
|
exclude_deps = ['rocm-examples']
|
||||||
|
dependencies = extract_dependencies(exclude_nodes=exclude_deps)
|
||||||
|
|
||||||
|
if not dependencies:
|
||||||
|
debug_print("No dependencies found.")
|
||||||
|
return
|
||||||
|
|
||||||
|
graph = build_dependency_graph(dependencies, exclude_nodes=exclude_deps)
|
||||||
|
full_tree = build_full_dependency_tree(graph)
|
||||||
|
|
||||||
|
print("Dependency tree:")
|
||||||
|
print(full_tree)
|
||||||
|
|
||||||
|
# Call this function after building the graph
|
||||||
|
visualize_graph(full_tree)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
BIN
.azuredevops/scripts/dependency_graph.png
Normal file
BIN
.azuredevops/scripts/dependency_graph.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 487 KiB |
@@ -1,23 +0,0 @@
|
|||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
- name: catch2Version
|
|
||||||
type: string
|
|
||||||
default: "v3.7.0"
|
|
||||||
|
|
||||||
resources:
|
|
||||||
repositories:
|
|
||||||
- repository: pipelines_repo
|
|
||||||
type: github
|
|
||||||
endpoint: ROCm
|
|
||||||
name: ROCm/ROCm
|
|
||||||
|
|
||||||
trigger: none
|
|
||||||
pr: none
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- template: ${{ variables.CI_DEPENDENCIES_PATH }}/catch2.yml
|
|
||||||
parameters:
|
|
||||||
catch2Version: ${{ parameters.catch2Version }}
|
|
||||||
@@ -28,22 +28,12 @@ resources:
|
|||||||
endpoint: ROCm
|
endpoint: ROCm
|
||||||
name: ROCm/hipother
|
name: ROCm/hipother
|
||||||
ref: ${{ parameters.checkoutRef }}
|
ref: ${{ parameters.checkoutRef }}
|
||||||
pipelines:
|
|
||||||
- pipeline: hip_pipeline
|
|
||||||
source: \experimental\HIP
|
|
||||||
trigger: true
|
|
||||||
- pipeline: hipother_pipeline
|
|
||||||
source: \experimental\hipother
|
|
||||||
trigger: true
|
|
||||||
|
|
||||||
trigger: none
|
trigger: none
|
||||||
pr: none
|
pr: none
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- ${{ if eq(variables['Build.Reason'], 'ResourceTrigger') }}:
|
- template: ${{ variables.CI_COMPONENT_PATH }}/HIP.yml
|
||||||
- template: ${{ variables.CI_COMPONENT_PATH }}/copyHIP.yml@pipelines_repo
|
|
||||||
- ${{ if ne(variables['Build.Reason'], 'ResourceTrigger') }}:
|
|
||||||
- template: ${{ variables.CI_COMPONENT_PATH }}/HIP.yml@pipelines_repo
|
|
||||||
parameters:
|
parameters:
|
||||||
checkoutRepo: release_repo
|
checkoutRepo: release_repo
|
||||||
checkoutRef: ${{ parameters.checkoutRef }}
|
checkoutRef: ${{ parameters.checkoutRef }}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
- name: fmtlibVersion
|
|
||||||
type: string
|
|
||||||
default: "11.1.3"
|
|
||||||
|
|
||||||
resources:
|
|
||||||
repositories:
|
|
||||||
- repository: pipelines_repo
|
|
||||||
type: github
|
|
||||||
endpoint: ROCm
|
|
||||||
name: ROCm/ROCm
|
|
||||||
|
|
||||||
trigger: none
|
|
||||||
pr: none
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- template: ${{ variables.CI_DEPENDENCIES_PATH }}/fmtlib.yml
|
|
||||||
parameters:
|
|
||||||
fmtlibVersion: ${{ parameters.fmtlibVersion }}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
- name: libdivideVersion
|
|
||||||
type: string
|
|
||||||
default: master
|
|
||||||
|
|
||||||
resources:
|
|
||||||
repositories:
|
|
||||||
- repository: pipelines_repo
|
|
||||||
type: github
|
|
||||||
endpoint: ROCm
|
|
||||||
name: ROCm/ROCm
|
|
||||||
|
|
||||||
trigger: none
|
|
||||||
pr: none
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- template: ${{ variables.CI_DEPENDENCIES_PATH }}/libdivide.yml
|
|
||||||
parameters:
|
|
||||||
libdivideVersion: ${{ parameters.libdivideVersion }}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
variables:
|
|
||||||
- group: common
|
|
||||||
- template: /.azuredevops/variables-global.yml
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
- name: spdlogVersion
|
|
||||||
type: string
|
|
||||||
default: "v1.15.1"
|
|
||||||
|
|
||||||
resources:
|
|
||||||
repositories:
|
|
||||||
- repository: pipelines_repo
|
|
||||||
type: github
|
|
||||||
endpoint: ROCm
|
|
||||||
name: ROCm/ROCm
|
|
||||||
|
|
||||||
trigger: none
|
|
||||||
pr: none
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
- template: ${{ variables.CI_DEPENDENCIES_PATH }}/spdlog.yml
|
|
||||||
parameters:
|
|
||||||
spdlogVersion: ${{ parameters.spdlogVersion }}
|
|
||||||
@@ -12,9 +12,6 @@ parameters:
|
|||||||
- name: fileFilter
|
- name: fileFilter
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
- name: extractAndDeleteFiles
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
# set to true if doing full build of ROCm stack
|
# set to true if doing full build of ROCm stack
|
||||||
# and dependencies are pulled from same pipeline
|
# and dependencies are pulled from same pipeline
|
||||||
- name: aggregatePipeline
|
- name: aggregatePipeline
|
||||||
@@ -22,29 +19,36 @@ parameters:
|
|||||||
default: false
|
default: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Set allowPartiallySucceededBuilds
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
if [[ ",$ALLOWED_PARTIAL_SUCCEED_BUILDS," == *",${{ parameters.componentName }},"* ]]; then
|
||||||
|
echo "##vso[task.setvariable variable=allowPartiallySucceededBuilds;]true"
|
||||||
|
else
|
||||||
|
echo "##vso[task.setvariable variable=allowPartiallySucceededBuilds;]false"
|
||||||
|
fi
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download ${{ parameters.componentName }}
|
displayName: Download ${{ parameters.componentName }}
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
${{ if eq(parameters.componentName, 'clr') }}:
|
${{ if eq(parameters.aggregatePipeline, false) }}:
|
||||||
itemPattern: '**/*${{ parameters.componentName }}*${{ parameters.fileFilter }}*amd*' # filter out nvidia clr artifacts
|
|
||||||
${{ else }}:
|
|
||||||
itemPattern: '**/*${{ parameters.componentName }}*${{ parameters.fileFilter }}*'
|
|
||||||
targetPath: '$(Pipeline.Workspace)/d'
|
|
||||||
allowPartiallySucceededBuilds: true
|
|
||||||
${{ if parameters.aggregatePipeline }}:
|
|
||||||
buildType: 'current'
|
|
||||||
${{ else }}:
|
|
||||||
buildType: 'specific'
|
buildType: 'specific'
|
||||||
project: ROCm-CI
|
project: ROCm-CI
|
||||||
specificBuildWithTriggering: true
|
|
||||||
definition: ${{ parameters.pipelineId }}
|
definition: ${{ parameters.pipelineId }}
|
||||||
|
specificBuildWithTriggering: true
|
||||||
|
itemPattern: '**/*${{ parameters.fileFilter }}*'
|
||||||
|
# aomp is a special case, since the trigger file is under ROCm/ROCm instead of the component repo
|
||||||
|
${{ if notIn(parameters.componentName, 'aomp') }}:
|
||||||
|
buildVersionToDownload: latestFromBranch # default is 'latest'
|
||||||
branchName: refs/heads/${{ parameters.branchName }}
|
branchName: refs/heads/${{ parameters.branchName }}
|
||||||
${{ if eq(parameters.componentName, 'aomp') }}:
|
allowPartiallySucceededBuilds: $(allowPartiallySucceededBuilds)
|
||||||
buildVersionToDownload: latest # aomp trigger lives in ROCm/ROCm, so cannot use ROCm/aomp branch names
|
targetPath: '$(Pipeline.Workspace)/d'
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
buildVersionToDownload: latestFromBranch
|
buildType: 'current'
|
||||||
- ${{ if eq(parameters.extractAndDeleteFiles, true) }}:
|
itemPattern: '**/${{ parameters.componentName }}*${{ parameters.fileFilter }}*'
|
||||||
|
allowPartiallySucceededBuilds: $(allowPartiallySucceededBuilds)
|
||||||
|
targetPath: '$(Pipeline.Workspace)/d'
|
||||||
- task: ExtractFiles@1
|
- task: ExtractFiles@1
|
||||||
displayName: Extract ${{ parameters.componentName }}
|
displayName: Extract ${{ parameters.componentName }}
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ steps:
|
|||||||
URL_BEGIN="https://artprodcus3.artifacts.visualstudio.com/"
|
URL_BEGIN="https://artprodcus3.artifacts.visualstudio.com/"
|
||||||
URL_MIDDLE="/_apis/artifact/"
|
URL_MIDDLE="/_apis/artifact/"
|
||||||
URL_END="/content?format=file&subPath=%2F"
|
URL_END="/content?format=file&subPath=%2F"
|
||||||
ARTIFACT_NAME="$(Agent.JobName)_$(System.JobAttempt)"
|
FORMATTED_JOB_NAME=$(echo $(Agent.JobName) | sed 's/ /./g; s/[-_]//g')
|
||||||
ARTIFACT_STRING="pipelineartifact://ROCm-CI/projectId/$(DOWNLOAD_PROJECT_ID)/buildId/$(Build.BuildId)/artifactName/${ARTIFACT_NAME}"
|
ARTIFACT_STRING="pipelineartifact://ROCm-CI/projectId/$(DOWNLOAD_PROJECT_ID)/buildId/$(Build.BuildId)/artifactName/${FORMATTED_JOB_NAME}"
|
||||||
ENCODED_STRING=$(echo -n "${ARTIFACT_STRING}" | base64 -w 0)
|
ENCODED_STRING=$(echo -n "${ARTIFACT_STRING}" | base64 -w 0)
|
||||||
PADDING_COUNT=$(echo -n "${ENCODED_STRING}" | awk -F= '{print NF-1}')
|
PADDING_COUNT=$(echo -n "${ENCODED_STRING}" | awk -F= '{print NF-1}')
|
||||||
if [ "$PADDING_COUNT" -gt 0 ]; then
|
if [ "$PADDING_COUNT" -gt 0 ]; then
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ steps:
|
|||||||
includeRootFolder: false
|
includeRootFolder: false
|
||||||
archiveType: 'tar'
|
archiveType: 'tar'
|
||||||
tarCompression: 'gz'
|
tarCompression: 'gz'
|
||||||
archiveFile: '$(Build.ArtifactStagingDirectory)/${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}_$(System.JobAttempt).tar.gz'
|
archiveFile: '$(Build.ArtifactStagingDirectory)/${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.tar.gz'
|
||||||
- task: DeleteFiles@1
|
- task: DeleteFiles@1
|
||||||
displayName: 'Cleanup Staging Area'
|
displayName: 'Cleanup Staging Area'
|
||||||
inputs:
|
inputs:
|
||||||
@@ -38,7 +38,7 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: echo "${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}_$(System.JobAttempt).tar.gz" >> pipelineArtifacts.txt
|
script: echo "${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.tar.gz" >> pipelineArtifacts.txt
|
||||||
# then publish it
|
# then publish it
|
||||||
- ${{ if parameters.publish }}:
|
- ${{ if parameters.publish }}:
|
||||||
- task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
@@ -46,6 +46,4 @@ steps:
|
|||||||
displayName: '${{ parameters.artifactName }} Publish'
|
displayName: '${{ parameters.artifactName }} Publish'
|
||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
inputs:
|
inputs:
|
||||||
# if this artifact name is changed, please also update $ARTIFACT_URL inside miopen-get-ck-build.yml
|
|
||||||
artifactName: $(Agent.JobName)_$(System.JobAttempt)
|
|
||||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ steps:
|
|||||||
retryCountOnTaskFailure: 3
|
retryCountOnTaskFailure: 3
|
||||||
fetchFilter: blob:none
|
fetchFilter: blob:none
|
||||||
${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
||||||
sparseCheckoutDirectories: ${{ parameters.sparseCheckoutDir }} shared
|
sparseCheckoutDirectories: ${{ parameters.sparseCheckoutDir }}
|
||||||
path: sparse
|
path: sparse
|
||||||
- ${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
- ${{ if ne(parameters.sparseCheckoutDir, '') }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
parameters:
|
parameters:
|
||||||
- name: os
|
|
||||||
type: string
|
|
||||||
default: ubuntu2204
|
|
||||||
- name: repositoryUrl
|
- name: repositoryUrl
|
||||||
type: string
|
type: string
|
||||||
default: https://download.amd.com/developer/eula/aocl/aocl-4-2
|
default: https://download.amd.com/developer/eula/aocl/aocl-4-2
|
||||||
- name: packageName
|
- name: packageName
|
||||||
type: object
|
type: string
|
||||||
default:
|
default: aocl-linux-gcc-4.2.0_1_amd64.deb
|
||||||
ubuntu2204: aocl-linux-gcc-4.2.0_1_amd64.deb
|
|
||||||
almalinux8: aocl-linux-gcc-4.2.0-1.x86_64.rpm
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
@@ -17,19 +12,16 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
script: wget -nv ${{ parameters.repositoryUrl }}/${{ parameters.packageName[parameters.os] }}
|
script: wget -nv ${{ parameters.repositoryUrl }}/${{ parameters.packageName }}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Install AOCL
|
displayName: Install AOCL
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
${{ if eq(parameters.os, 'ubuntu2204') }}:
|
script: sudo apt install -y ./${{ parameters.packageName }}
|
||||||
script: sudo apt install -y ./${{ parameters.packageName[parameters.os] }}
|
|
||||||
${{ elseif eq(parameters.os, 'almalinux8') }}:
|
|
||||||
script: sudo dnf install -y ./${{ parameters.packageName[parameters.os] }}
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Clean up AOCL
|
displayName: Clean up AOCL
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
script: rm -f ${{ parameters.packageName[parameters.os] }}
|
script: rm -f ${{ parameters.packageName }}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ steps:
|
|||||||
- ${{ if eq(parameters.registerROCmPackages, true) }}:
|
- ${{ if eq(parameters.registerROCmPackages, true) }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Register AMDGPU & ROCm repos (apt)'
|
displayName: 'Register AMDGPU & ROCm repos (apt)'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
@@ -21,8 +20,7 @@ steps:
|
|||||||
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
|
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
|
||||||
sudo apt update
|
sudo apt update
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'APT update and install packages'
|
displayName: 'sudo apt-get update'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
@@ -30,6 +28,15 @@ steps:
|
|||||||
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
||||||
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
||||||
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/default.list
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
|
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes update
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --fix-broken install && \
|
- task: Bash@3
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --fix-missing install ${{ join(' ', parameters.aptPackages) }}
|
displayName: 'sudo apt-get fix'
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --fix-broken install
|
||||||
|
- ${{ if gt(length(parameters.aptPackages), 0) }}:
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: 'sudo apt-get install ...'
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --fix-missing install ${{ join(' ', parameters.aptPackages) }}
|
||||||
|
|||||||
@@ -5,28 +5,51 @@ parameters:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Download and install aqlprofile
|
displayName: Get aqlprofile package name
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Agent.BuildDirectory)
|
${{ if eq(parameters.os, 'ubuntu2204') }}:
|
||||||
script: |
|
script: |
|
||||||
set -e
|
export packageName=$(curl -s https://repo.radeon.com/rocm/apt/$(REPO_RADEON_VERSION)/pool/main/h/hsa-amd-aqlprofile/ | grep -oP "href=\"\K[^\"]*$(lsb_release -rs)[^\"]*\.deb")
|
||||||
if [ "${{ parameters.os }}" = "ubuntu2204" ]; then
|
echo "##vso[task.setvariable variable=packageName;isreadonly=true]$packageName"
|
||||||
packageName=$(curl -s https://repo.radeon.com/rocm/apt/$(REPO_RADEON_VERSION)/pool/main/h/hsa-amd-aqlprofile/ | grep -oP "href=\"\K[^\"]*$(lsb_release -rs)[^\"]*\.deb") && \
|
${{ if eq(parameters.os, 'almalinux8') }}:
|
||||||
wget -nv https://repo.radeon.com/rocm/apt/$(REPO_RADEON_VERSION)/pool/main/h/hsa-amd-aqlprofile/$packageName && \
|
script: |
|
||||||
mkdir -p hsa-amd-aqlprofile && \
|
export packageName=$(curl -s https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/ | grep -oP "hsa-amd-aqlprofile-[^\"]+\.rpm" | head -n1)
|
||||||
dpkg-deb -R $packageName hsa-amd-aqlprofile
|
echo "##vso[task.setvariable variable=packageName;isreadonly=true]$packageName"
|
||||||
elif [ "${{ parameters.os }}" = "almalinux8" ]; then
|
- task: Bash@3
|
||||||
sudo dnf -y install rpm-build cpio && \
|
displayName: 'Download aqlprofile'
|
||||||
packageName=$(curl -s https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/ | grep -oP "hsa-amd-aqlprofile-[^\"]+\.rpm" | head -n1) && \
|
inputs:
|
||||||
wget -nv https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/$packageName && \
|
targetType: inline
|
||||||
mkdir -p hsa-amd-aqlprofile && \
|
workingDirectory: '$(Pipeline.Workspace)'
|
||||||
rpm2cpio $packageName | (cd hsa-amd-aqlprofile && cpio -idmv)
|
${{ if eq(parameters.os, 'ubuntu2204') }}:
|
||||||
else
|
script: wget -nv https://repo.radeon.com/rocm/apt/$(REPO_RADEON_VERSION)/pool/main/h/hsa-amd-aqlprofile/$(packageName)
|
||||||
echo "Unsupported OS: ${{ parameters.os }}"
|
${{ if eq(parameters.os, 'almalinux8') }}:
|
||||||
exit 1
|
script: wget -nv https://repo.radeon.com/rocm/rhel8/$(REPO_RADEON_VERSION)/main/$(packageName)
|
||||||
fi && \
|
- task: Bash@3
|
||||||
mkdir -p $(Agent.BuildDirectory)/rocm && \
|
displayName: 'Extract aqlprofile'
|
||||||
cp -R hsa-amd-aqlprofile/opt/rocm-*/* $(Agent.BuildDirectory)/rocm && \
|
inputs:
|
||||||
rm -rf hsa-amd-aqlprofile $packageName
|
targetType: inline
|
||||||
|
workingDirectory: '$(Pipeline.Workspace)'
|
||||||
|
${{ if eq(parameters.os, 'ubuntu2204') }}:
|
||||||
|
script: |
|
||||||
|
mkdir hsa-amd-aqlprofile
|
||||||
|
dpkg-deb -R $(packageName) hsa-amd-aqlprofile
|
||||||
|
${{ if eq(parameters.os, 'almalinux8') }}:
|
||||||
|
script: |
|
||||||
|
mkdir hsa-amd-aqlprofile
|
||||||
|
sudo dnf -y install rpm-build cpio
|
||||||
|
rpm2cpio $(packageName) | (cd hsa-amd-aqlprofile && cpio -idmv)
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: 'Copy aqlprofile files'
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
mkdir -p $(Agent.BuildDirectory)/rocm
|
||||||
|
cp -R hsa-amd-aqlprofile/opt/rocm-*/* $(Agent.BuildDirectory)/rocm
|
||||||
|
workingDirectory: '$(Pipeline.Workspace)'
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: 'Clean up aqlprofile'
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: rm -rf hsa-amd-aqlprofile $(packageName)
|
||||||
|
workingDirectory: '$(Pipeline.Workspace)'
|
||||||
|
|||||||
@@ -1,15 +1,10 @@
|
|||||||
parameters:
|
|
||||||
- name: cmakeVersion
|
|
||||||
type: string
|
|
||||||
default: '3.31.0'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Install CMake ${{ parameters.cmakeVersion }}
|
displayName: Install CMake 3.31
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
CMAKE_VERSION=${{ parameters.cmakeVersion }}
|
CMAKE_VERSION=3.31.0
|
||||||
CMAKE_ROOT="$(Pipeline.Workspace)/cmake"
|
CMAKE_ROOT="$(Pipeline.Workspace)/cmake"
|
||||||
|
|
||||||
echo "Downloading CMake $CMAKE_VERSION..."
|
echo "Downloading CMake $CMAKE_VERSION..."
|
||||||
@@ -52,15 +52,11 @@ parameters:
|
|||||||
libexpat-dev: expat-devel
|
libexpat-dev: expat-devel
|
||||||
libffi-dev: libffi-devel
|
libffi-dev: libffi-devel
|
||||||
libfftw3-dev: fftw-devel
|
libfftw3-dev: fftw-devel
|
||||||
libfmt-dev: fmt-devel
|
|
||||||
libgmp-dev: gmp-devel
|
libgmp-dev: gmp-devel
|
||||||
liblapack-dev: lapack-devel
|
|
||||||
liblzma-dev: xz-devel
|
liblzma-dev: xz-devel
|
||||||
libmpfr-dev: mpfr-devel
|
libmpfr-dev: mpfr-devel
|
||||||
libmsgpack-dev: msgpack-devel
|
|
||||||
libncurses5-dev: ncurses-devel
|
libncurses5-dev: ncurses-devel
|
||||||
libnuma-dev: numactl-devel
|
libnuma-dev: numactl-devel
|
||||||
libopenblas-dev: openblas-devel
|
|
||||||
libopenmpi-dev: openmpi-devel
|
libopenmpi-dev: openmpi-devel
|
||||||
libpci-dev: libpciaccess-devel
|
libpci-dev: libpciaccess-devel
|
||||||
libssl-dev: openssl-devel
|
libssl-dev: openssl-devel
|
||||||
@@ -89,7 +85,6 @@ steps:
|
|||||||
- ${{ if eq(parameters.registerROCmPackages, true) }}:
|
- ${{ if eq(parameters.registerROCmPackages, true) }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Register AMDGPU & ROCm repos (dnf)'
|
displayName: 'Register AMDGPU & ROCm repos (dnf)'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
@@ -110,13 +105,12 @@ steps:
|
|||||||
sudo dnf makecache
|
sudo dnf makecache
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Install base dnf packages'
|
displayName: 'Install base dnf packages'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
|
sudo dnf config-manager --set-enabled powertools
|
||||||
# rpm fusion free repo for some dependencies
|
# rpm fusion free repo for some dependencies
|
||||||
sudo dnf config-manager --set-enabled powertools && \
|
sudo dnf -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
|
||||||
sudo dnf -y install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm && \
|
|
||||||
sudo dnf -y install ${{ join(' ', parameters.basePackages) }}
|
sudo dnf -y install ${{ join(' ', parameters.basePackages) }}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Check gcc environment'
|
displayName: 'Check gcc environment'
|
||||||
@@ -130,7 +124,6 @@ steps:
|
|||||||
g++ -print-file-name=libstdc++.so
|
g++ -print-file-name=libstdc++.so
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Set python 3.11 as default'
|
displayName: 'Set python 3.11 as default'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
@@ -145,20 +138,18 @@ steps:
|
|||||||
- ${{ if eq(pkg, 'ninja-build') }}:
|
- ${{ if eq(pkg, 'ninja-build') }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Install ninja 1.11.1'
|
displayName: 'Install ninja 1.11.1'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
sudo dnf -y install unzip && \
|
curl -LO https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip
|
||||||
curl -LO https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-linux.zip && \
|
sudo dnf -y install unzip
|
||||||
unzip ninja-linux.zip && \
|
unzip ninja-linux.zip
|
||||||
sudo mv ninja /usr/local/bin/ninja && \
|
sudo mv ninja /usr/local/bin/ninja
|
||||||
sudo chmod +x /usr/local/bin/ninja && \
|
sudo chmod +x /usr/local/bin/ninja
|
||||||
echo "##vso[task.prependpath]/usr/local/bin"
|
echo "##vso[task.prependpath]/usr/local/bin"
|
||||||
- ${{ if ne(parameters.aptToDnfMap[pkg], '') }}:
|
- ${{ if ne(parameters.aptToDnfMap[pkg], '') }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'dnf install ${{ parameters.aptToDnfMap[pkg] }}'
|
displayName: 'dnf install ${{ parameters.aptToDnfMap[pkg] }}'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ steps:
|
|||||||
- ${{ if gt(length(parameters.pipModules), 0) }}:
|
- ${{ if gt(length(parameters.pipModules), 0) }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'pip install ...'
|
displayName: 'pip install ...'
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: python3 -m pip install -v --force-reinstall ${{ join(' ', parameters.pipModules) }}
|
script: python3 -m pip install -v --force-reinstall ${{ join(' ', parameters.pipModules) }}
|
||||||
|
|||||||
@@ -3,6 +3,13 @@ parameters:
|
|||||||
- name: checkoutRef
|
- name: checkoutRef
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
|
- name: dependencySource # optional, overrides checkoutRef
|
||||||
|
type: string
|
||||||
|
default: null
|
||||||
|
values:
|
||||||
|
- null # empty strings aren't allowed as values, use null instead
|
||||||
|
- staging
|
||||||
|
- mainline
|
||||||
- name: dependencyList
|
- name: dependencyList
|
||||||
type: object
|
type: object
|
||||||
default: []
|
default: []
|
||||||
@@ -12,6 +19,16 @@ parameters:
|
|||||||
- name: gpuTarget
|
- name: gpuTarget
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
|
# set to true if you're calling this template file multiple files in same pipeline
|
||||||
|
# only leave last call false to optimize sequence
|
||||||
|
- name: skipLibraryLinking
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
# set to true if llvm-project is not downloaded in a particular call
|
||||||
|
# or if you just don't want the symlink
|
||||||
|
- name: skipLlvmSymlink
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
# set to true if dlopen calls for HIP libraries are causing failures
|
# set to true if dlopen calls for HIP libraries are causing failures
|
||||||
# because they do not follow shared library symlink convention
|
# because they do not follow shared library symlink convention
|
||||||
- name: setupHIPLibrarySymlinks
|
- name: setupHIPLibrarySymlinks
|
||||||
@@ -31,248 +48,309 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
AMDMIGraphX:
|
AMDMIGraphX:
|
||||||
pipelineId: 113
|
pipelineId: $(AMDMIGRAPHX_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: master
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
amdsmi:
|
amdsmi:
|
||||||
pipelineId: 99
|
pipelineId: $(AMDSMI_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
aomp-extras:
|
aomp-extras:
|
||||||
pipelineId: 111
|
pipelineId: $(AOMP_EXTRAS_PIPELINE_ID)
|
||||||
developBranch: aomp-dev
|
stagingBranch: aomp-dev
|
||||||
|
mainlineBranch: aomp-dev
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
aomp:
|
aomp:
|
||||||
pipelineId: 115
|
pipelineId: $(AOMP_PIPELINE_ID)
|
||||||
developBranch: aomp-dev
|
stagingBranch: aomp-dev
|
||||||
hasGpuTarget: false
|
mainlineBranch: amd-mainline
|
||||||
aqlprofile:
|
|
||||||
pipelineId: 365
|
|
||||||
developBranch: develop
|
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
clr:
|
clr:
|
||||||
pipelineId: 335
|
pipelineId: $(CLR_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
composable_kernel:
|
composable_kernel:
|
||||||
pipelineId: 86
|
pipelineId: $(COMPOSABLE_KERNEL_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
half:
|
half:
|
||||||
pipelineId: 101
|
pipelineId: $(HALF_PIPELINE_ID)
|
||||||
developBranch: rocm
|
stagingBranch: rocm
|
||||||
|
mainlineBranch: rocm
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
HIP:
|
HIP:
|
||||||
pipelineId: 335
|
pipelineId: $(HIP_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
hip-tests:
|
hip-tests:
|
||||||
pipelineId: 362
|
pipelineId: $(HIP_TESTS_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
hipBLAS:
|
hipBLAS:
|
||||||
pipelineId: 317
|
pipelineId: $(HIPBLAS_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipBLASLt:
|
hipBLASLt:
|
||||||
pipelineId: 301
|
pipelineId: $(HIPBLASLT_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipBLAS-common:
|
hipBLAS-common:
|
||||||
pipelineId: 300
|
pipelineId: $(HIPBLAS_COMMON_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
hipCUB:
|
hipCUB:
|
||||||
pipelineId: 277
|
pipelineId: $(HIPCUB_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: develop
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipFFT:
|
hipFFT:
|
||||||
pipelineId: 283
|
pipelineId: $(HIPFFT_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipfort:
|
hipfort:
|
||||||
pipelineId: 102
|
pipelineId: $(HIPFORT_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
HIPIFY:
|
HIPIFY:
|
||||||
pipelineId: 92
|
pipelineId: $(HIPIFY_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
hipRAND:
|
hipRAND:
|
||||||
pipelineId: 275
|
pipelineId: $(HIPRAND_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipSOLVER:
|
hipSOLVER:
|
||||||
pipelineId: 84
|
pipelineId: $(HIPSOLVER_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipSPARSE:
|
hipSPARSE:
|
||||||
pipelineId: 315
|
pipelineId: $(HIPSPARSE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipSPARSELt:
|
hipSPARSELt:
|
||||||
pipelineId: 309
|
pipelineId: $(HIPSPARSELT_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
hipTensor:
|
hipTensor:
|
||||||
pipelineId: 105
|
pipelineId: $(HIPTENSOR_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
llvm-project:
|
llvm-project:
|
||||||
pipelineId: 2
|
pipelineId: $(LLVM_PROJECT_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
MIOpen:
|
MIOpen:
|
||||||
pipelineId: 320
|
pipelineId: $(MIOpen_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: amd-master
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
MIVisionX:
|
MIVisionX:
|
||||||
pipelineId: 80
|
pipelineId: $(MIVISIONX_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: master
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
origami:
|
omnitrace: # deprecated
|
||||||
pipelineId: 364
|
pipelineId: $(OMNITRACE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rccl:
|
rccl:
|
||||||
pipelineId: 107
|
pipelineId: $(RCCL_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rdc:
|
rdc:
|
||||||
pipelineId: 360
|
pipelineId: $(RDC_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocAL:
|
rocAL:
|
||||||
pipelineId: 151
|
pipelineId: $(ROCAL_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocALUTION:
|
rocALUTION:
|
||||||
pipelineId: 89
|
pipelineId: $(ROCALUTION_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocBLAS:
|
rocBLAS:
|
||||||
pipelineId: 302
|
pipelineId: $(ROCBLAS_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
ROCdbgapi:
|
ROCdbgapi:
|
||||||
pipelineId: 135
|
pipelineId: $(ROCDBGAPI_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocDecode:
|
rocDecode:
|
||||||
pipelineId: 79
|
pipelineId: $(ROCDECODE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocFFT:
|
rocFFT:
|
||||||
pipelineId: 282
|
pipelineId: $(ROCFFT_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
ROCgdb:
|
ROCgdb:
|
||||||
pipelineId: 134
|
pipelineId: $(ROCGDB_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline-rocgdb-15
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocJPEG:
|
rocJPEG:
|
||||||
pipelineId: 262
|
pipelineId: $(ROCJPEG_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocm-cmake:
|
rocm-cmake:
|
||||||
pipelineId: 6
|
pipelineId: $(ROCM_CMAKE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocm-core:
|
rocm-core:
|
||||||
pipelineId: 349
|
pipelineId: $(ROCM_CORE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: master
|
||||||
|
mainlineBranch: amd-master
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocm-examples:
|
rocm-examples:
|
||||||
pipelineId: 216
|
pipelineId: $(ROCM_EXAMPLES_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocminfo:
|
rocminfo:
|
||||||
pipelineId: 356
|
pipelineId: $(ROCMINFO_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocMLIR:
|
rocMLIR:
|
||||||
pipelineId: 229
|
pipelineId: $(ROCMLIR_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
ROCmValidationSuite:
|
ROCmValidationSuite:
|
||||||
pipelineId: 106
|
pipelineId: $(ROCMVALIDATIONSUITE_PIPELINE_ID)
|
||||||
developBranch: master
|
stagingBranch: master
|
||||||
|
mainlineBranch: master
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocm_bandwidth_test:
|
rocm_bandwidth_test:
|
||||||
pipelineId: 88
|
pipelineId: $(ROCM_BANDWIDTH_TEST_PIPELINE_ID)
|
||||||
developBranch: master
|
stagingBranch: master
|
||||||
|
mainlineBranch: master
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocm_smi_lib:
|
rocm_smi_lib:
|
||||||
pipelineId: 358
|
pipelineId: $(ROCM_SMI_LIB_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocPRIM:
|
rocPRIM:
|
||||||
pipelineId: 273
|
pipelineId: $(ROCPRIM_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: develop
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocprofiler:
|
rocprofiler:
|
||||||
pipelineId: 329
|
pipelineId: $(ROCPROFILER_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-master
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocprofiler-compute:
|
rocprofiler-compute:
|
||||||
pipelineId: 344
|
pipelineId: $(ROCPROFILER_COMPUTE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocprofiler-register:
|
rocprofiler-register:
|
||||||
pipelineId: 327
|
pipelineId: $(ROCPROFILER_REGISTER_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocprofiler-sdk:
|
rocprofiler-sdk:
|
||||||
pipelineId: 347
|
pipelineId: $(ROCPROFILER_SDK_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocprofiler-systems:
|
rocprofiler-systems:
|
||||||
pipelineId: 345
|
pipelineId: $(ROCPROFILER_SYSTEMS_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocPyDecode:
|
rocPyDecode:
|
||||||
pipelineId: 239
|
pipelineId: $(ROCPYDECODE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
ROCR-Runtime:
|
ROCR-Runtime:
|
||||||
pipelineId: 354
|
pipelineId: $(ROCR_RUNTIME_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocRAND:
|
rocRAND:
|
||||||
pipelineId: 274
|
pipelineId: $(ROCRAND_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocr_debug_agent:
|
rocr_debug_agent:
|
||||||
pipelineId: 136
|
pipelineId: $(ROCR_DEBUG_AGENT_PIPELINE_ID)
|
||||||
developBranch: amd-staging
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: false
|
hasGpuTarget: false
|
||||||
rocSOLVER:
|
rocSOLVER:
|
||||||
pipelineId: 81
|
pipelineId: $(ROCSOLVER_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocSPARSE:
|
rocSPARSE:
|
||||||
pipelineId: 314
|
pipelineId: $(ROCSPARSE_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
|
ROCT-Thunk-Interface: # deprecated
|
||||||
|
pipelineId: $(ROCT_THUNK_INTERFACE_PIPELINE_ID)
|
||||||
|
stagingBranch: master
|
||||||
|
mainlineBranch: master
|
||||||
|
hasGpuTarget: false
|
||||||
rocThrust:
|
rocThrust:
|
||||||
pipelineId: 276
|
pipelineId: $(ROCTHRUST_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: develop
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
roctracer:
|
roctracer:
|
||||||
pipelineId: 331
|
pipelineId: $(ROCTRACER_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: amd-staging
|
||||||
|
mainlineBranch: amd-mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rocWMMA:
|
rocWMMA:
|
||||||
pipelineId: 109
|
pipelineId: $(ROCWMMA_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
rpp:
|
rpp:
|
||||||
pipelineId: 78
|
pipelineId: $(RPP_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
TransferBench:
|
TransferBench:
|
||||||
pipelineId: 265
|
pipelineId: $(TRANSFERBENCH_PIPELINE_ID)
|
||||||
developBranch: develop
|
stagingBranch: develop
|
||||||
|
mainlineBranch: mainline
|
||||||
hasGpuTarget: true
|
hasGpuTarget: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -288,67 +366,86 @@ steps:
|
|||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ split(dependency, ':')[0] }}
|
componentName: ${{ split(dependency, ':')[0] }}
|
||||||
pipelineId: ${{ parameters.componentVarList[split(dependency, ':')[0]].pipelineId }}
|
pipelineId: ${{ parameters.componentVarList[split(dependency, ':')[0]].pipelineId }}
|
||||||
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].developBranch }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
extractAndDeleteFiles: false
|
${{ if parameters.componentVarList[split(dependency, ':')[0]].hasGpuTarget }}:
|
||||||
|
fileFilter: "${{ split(dependency, ':')[1] }}*_${{ parameters.os }}_${{ parameters.gpuTarget }}"
|
||||||
|
# dependencySource = staging
|
||||||
|
${{ if eq(parameters.dependencySource, 'staging')}}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].stagingBranch }}
|
||||||
|
# dependencySource = mainline
|
||||||
|
${{ elseif eq(parameters.dependencySource, 'mainline')}}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].mainlineBranch }}
|
||||||
|
# checkoutRef = staging
|
||||||
|
${{ elseif eq(parameters.checkoutRef, parameters.componentVarList[variables['Build.DefinitionName']].stagingBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].stagingBranch }}
|
||||||
|
# checkoutRef = mainline
|
||||||
|
${{ elseif eq(parameters.checkoutRef, parameters.componentVarList[variables['Build.DefinitionName']].mainlineBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].mainlineBranch }}
|
||||||
|
# SourceBranchName = staging
|
||||||
|
${{ elseif eq(variables['Build.SourceBranchName'], parameters.componentVarlist[variables['Build.DefinitionName']].stagingBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].stagingBranch }}
|
||||||
|
# SourceBranchName = mainline
|
||||||
|
${{ elseif eq(variables['Build.SourceBranchName'], parameters.componentVarlist[variables['Build.DefinitionName']].mainlineBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].mainlineBranch }}
|
||||||
|
# default = staging
|
||||||
|
${{ else }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[split(dependency, ':')[0]].stagingBranch }}
|
||||||
# no colon (:) found in this item in the list
|
# no colon (:) found in this item in the list
|
||||||
- ${{ elseif containsValue(split(parameters.downstreamAggregateNames, '+'), dependency) }}:
|
- ${{ elseif containsValue(split(parameters.downstreamAggregateNames, '+'), dependency) }}:
|
||||||
- template: local-artifact-download.yml
|
- template: local-artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
buildType: current
|
|
||||||
preTargetFilter: ${{ dependency }}
|
|
||||||
os: ${{ parameters.os }}
|
|
||||||
${{ if parameters.componentVarList[dependency].hasGpuTarget }}:
|
${{ if parameters.componentVarList[dependency].hasGpuTarget }}:
|
||||||
gpuTarget: ${{ parameters.gpuTarget }}
|
gpuTarget: ${{ parameters.gpuTarget }}
|
||||||
|
preTargetFilter: ${{ dependency }}
|
||||||
|
buildType: current
|
||||||
- ${{ else }}:
|
- ${{ else }}:
|
||||||
- template: artifact-download.yml
|
- template: artifact-download.yml
|
||||||
parameters:
|
parameters:
|
||||||
componentName: ${{ dependency }}
|
componentName: ${{ dependency }}
|
||||||
pipelineId: ${{ parameters.componentVarList[dependency].pipelineId }}
|
pipelineId: ${{ parameters.componentVarList[dependency].pipelineId }}
|
||||||
branchName: ${{ parameters.componentVarList[dependency].developBranch }}
|
|
||||||
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
aggregatePipeline: ${{ parameters.aggregatePipeline }}
|
||||||
extractAndDeleteFiles: false
|
|
||||||
${{ if parameters.componentVarList[dependency].hasGpuTarget }}:
|
${{ if parameters.componentVarList[dependency].hasGpuTarget }}:
|
||||||
fileFilter: ${{ parameters.os }}_${{ parameters.gpuTarget }}
|
fileFilter: ${{ parameters.os }}_${{ parameters.gpuTarget }}
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
fileFilter: ${{ parameters.os }}
|
fileFilter: ${{ parameters.os }}
|
||||||
- task: ExtractFiles@1
|
# dependencySource = staging
|
||||||
displayName: Extract ROCm artifacts
|
${{ if eq(parameters.dependencySource, 'staging')}}:
|
||||||
inputs:
|
branchName: ${{ parameters.componentVarList[dependency].stagingBranch }}
|
||||||
archiveFilePatterns: $(Pipeline.Workspace)/d/**/*.tar.gz
|
# dependencySource = mainline
|
||||||
destinationFolder: $(Agent.BuildDirectory)/rocm
|
${{ elseif eq(parameters.dependencySource, 'mainline')}}:
|
||||||
cleanDestinationFolder: false
|
branchName: ${{ parameters.componentVarList[dependency].mainlineBranch }}
|
||||||
overwriteExistingFiles: true
|
# checkoutRef = staging
|
||||||
- task: DeleteFiles@1
|
${{ elseif eq(parameters.checkoutRef, parameters.componentVarList[variables['Build.DefinitionName']].stagingBranch) }}:
|
||||||
displayName: Clean up ROCm artifacts
|
branchName: ${{ parameters.componentVarList[dependency].stagingBranch }}
|
||||||
inputs:
|
# checkoutRef = mainline
|
||||||
SourceFolder: $(Pipeline.Workspace)/d
|
${{ elseif eq(parameters.checkoutRef, parameters.componentVarList[variables['Build.DefinitionName']].mainlineBranch) }}:
|
||||||
Contents: '**/*.tar.gz'
|
branchName: ${{ parameters.componentVarList[dependency].mainlineBranch }}
|
||||||
RemoveDotFiles: true
|
# SourceBranchName = staging
|
||||||
- ${{ if containsValue(parameters.dependencyList, 'llvm-project') }}:
|
${{ elseif eq(variables['Build.SourceBranchName'], parameters.componentVarlist[variables['Build.DefinitionName']].stagingBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[dependency].stagingBranch }}
|
||||||
|
# SourceBranchName = mainline
|
||||||
|
${{ elseif eq(variables['Build.SourceBranchName'], parameters.componentVarlist[variables['Build.DefinitionName']].mainlineBranch) }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[dependency].mainlineBranch }}
|
||||||
|
# default = staging
|
||||||
|
${{ else }}:
|
||||||
|
branchName: ${{ parameters.componentVarList[dependency].stagingBranch }}
|
||||||
|
# Set link to redirect llvm folder
|
||||||
|
- ${{ if eq(parameters.skipLlvmSymlink, false) }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Symlink from rocm/llvm to rocm/lib/llvm
|
displayName: Symlink from rocm/llvm to rocm/lib/llvm
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
sudo mkdir -p $(Agent.BuildDirectory)/rocm/lib
|
sudo mkdir -p $(Agent.BuildDirectory)/rocm/lib
|
||||||
sudo ln -sr $(Agent.BuildDirectory)/rocm/llvm $(Agent.BuildDirectory)/rocm/lib/llvm
|
sudo ln -s $(Agent.BuildDirectory)/rocm/llvm $(Agent.BuildDirectory)/rocm/lib/llvm
|
||||||
echo "Created symlink from rocm/llvm to rocm/lib/llvm"
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Symlink executables from rocm/llvm/bin to rocm/bin
|
displayName: Symlink executables from rocm/llvm/bin to rocm/bin
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
for file in amdclang amdclang++ amdclang-cl amdclang-cpp amdflang amdlld aompcc mygpu mycpu offload-arch; do
|
for file in amdclang amdclang++ amdclang-cl amdclang-cpp amdflang amdlld aompcc mygpu mycpu offload-arch; do
|
||||||
sudo ln -sr $(Agent.BuildDirectory)/rocm/llvm/bin/$file $(Agent.BuildDirectory)/rocm/bin/$file
|
sudo ln -s $(Agent.BuildDirectory)/rocm/llvm/bin/$file $(Agent.BuildDirectory)/rocm/bin/$file
|
||||||
echo "Created symlink from rocm/llvm/bin/$file to rocm/bin/$file"
|
|
||||||
done
|
done
|
||||||
- ${{ if containsValue(parameters.dependencyList, 'rocm-core') }}:
|
|
||||||
- task: Bash@3
|
|
||||||
displayName: Print rocm/.info/version
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: cat $(Agent.BuildDirectory)/rocm/.info/version
|
|
||||||
# dlopen calls within a ctest or pytest sequence runs into issues when shared library symlink convention is not followed
|
# dlopen calls within a ctest or pytest sequence runs into issues when shared library symlink convention is not followed
|
||||||
# the convention is as follows:
|
# the convention is as follows:
|
||||||
# unversioned .so is a symlink to major version .so
|
# unversioned .so is a symlink to major version .so
|
||||||
@@ -385,6 +482,7 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: ls -la1R $(Agent.BuildDirectory)/rocm
|
script: ls -la1R $(Agent.BuildDirectory)/rocm
|
||||||
|
- ${{ if eq(parameters.skipLibraryLinking, false) }}:
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: 'Link ROCm shared libraries'
|
displayName: 'Link ROCm shared libraries'
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -8,20 +8,15 @@ parameters:
|
|||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
boost: 250
|
boost: 250
|
||||||
catch2: 343
|
|
||||||
fmtlib: 341
|
|
||||||
grpc: 72
|
grpc: 72
|
||||||
gtest: 73
|
gtest: 73
|
||||||
half560: 68
|
half560: 68
|
||||||
lapack: 69
|
lapack: 69
|
||||||
libdivide: 342
|
|
||||||
spdlog: 340
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- ${{ each dependency in parameters.dependencyList }}:
|
- ${{ each dependency in parameters.dependencyList }}:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download ${{ dependency }}
|
displayName: Download ${{ dependency }}
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
project: ROCm-CI
|
project: ROCm-CI
|
||||||
buildType: specific
|
buildType: specific
|
||||||
@@ -33,7 +28,7 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
archiveFilePatterns: '$(Pipeline.Workspace)/d/**/*.tar.gz'
|
archiveFilePatterns: '$(Pipeline.Workspace)/d/**/*.tar.gz'
|
||||||
destinationFolder: $(Agent.BuildDirectory)/vendor
|
destinationFolder: $(Agent.BuildDirectory)/vendor
|
||||||
cleanDestinationFolder: false
|
cleanDestinationFolder: true
|
||||||
overwriteExistingFiles: true
|
overwriteExistingFiles: true
|
||||||
- task: DeleteFiles@1
|
- task: DeleteFiles@1
|
||||||
displayName: Clean up ${{ dependency }}
|
displayName: Clean up ${{ dependency }}
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ parameters:
|
|||||||
steps:
|
steps:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: Download ${{ parameters.preTargetFilter}}*${{ parameters.os }}_${{ parameters.gpuTarget}}*${{ parameters.postTargetFilter}}
|
displayName: Download ${{ parameters.preTargetFilter}}*${{ parameters.os }}_${{ parameters.gpuTarget}}*${{ parameters.postTargetFilter}}
|
||||||
retryCountOnTaskFailure: 3
|
|
||||||
inputs:
|
inputs:
|
||||||
${{ if eq(parameters.buildType, 'specific') }}:
|
${{ if eq(parameters.buildType, 'specific') }}:
|
||||||
buildType: specific
|
buildType: specific
|
||||||
|
|||||||
@@ -23,14 +23,13 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
${{ iif(or(eq(parameters.os, 'ubuntu2204'), eq(parameters.os, 'ubuntu2404')), 'sudo apt-get install -y jq', '') }}
|
sudo apt-get install -y jq
|
||||||
|
|
||||||
# RESOURCES_REPOSITORIES is a runtime variable (not an env var!) that contains quotations and newlines
|
# RESOURCES_REPOSITORIES is a runtime variable (not an env var!) that contains quotations and newlines
|
||||||
# So we need to save it to a file to properly preserve its formatting and contents
|
# So we need to save it to a file to properly preserve its formatting and contents
|
||||||
cat <<EOF > resources.repositories
|
cat <<EOF > resources.repositories
|
||||||
$(RESOURCES_REPOSITORIES)
|
$(RESOURCES_REPOSITORIES)
|
||||||
EOF
|
EOF
|
||||||
echo "Value of resources.repositories:"
|
|
||||||
cat resources.repositories
|
cat resources.repositories
|
||||||
|
|
||||||
IS_TAG_BUILD=$(jq 'has("release_repo")' resources.repositories)
|
IS_TAG_BUILD=$(jq 'has("release_repo")' resources.repositories)
|
||||||
@@ -67,6 +66,8 @@ steps:
|
|||||||
)
|
)
|
||||||
' resources.repositories)
|
' resources.repositories)
|
||||||
|
|
||||||
|
manifest_json=$(Build.ArtifactStagingDirectory)/manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.json
|
||||||
|
|
||||||
dependencies=()
|
dependencies=()
|
||||||
for manifest_file in $(Pipeline.Workspace)/d/**/manifest_*.json; do
|
for manifest_file in $(Pipeline.Workspace)/d/**/manifest_*.json; do
|
||||||
echo "Processing $manifest_file"
|
echo "Processing $manifest_file"
|
||||||
@@ -77,10 +78,6 @@ steps:
|
|||||||
done
|
done
|
||||||
dependencies_json=$(printf '%s\n' "${dependencies[@]}" | jq -s '.')
|
dependencies_json=$(printf '%s\n' "${dependencies[@]}" | jq -s '.')
|
||||||
|
|
||||||
manifest_filename="manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}"
|
|
||||||
echo "##vso[task.setvariable variable=manifest_filename]$manifest_filename"
|
|
||||||
manifest_json=$(Build.ArtifactStagingDirectory)/$manifest_filename.json
|
|
||||||
|
|
||||||
jq -n \
|
jq -n \
|
||||||
--argjson current "$current" \
|
--argjson current "$current" \
|
||||||
--argjson dependencies "$dependencies_json" \
|
--argjson dependencies "$dependencies_json" \
|
||||||
@@ -114,14 +111,8 @@ steps:
|
|||||||
')
|
')
|
||||||
dependencies_rows=$(echo $dependencies_rows)
|
dependencies_rows=$(echo $dependencies_rows)
|
||||||
echo "##vso[task.setvariable variable=dependencies_rows;]$dependencies_rows"
|
echo "##vso[task.setvariable variable=dependencies_rows;]$dependencies_rows"
|
||||||
- task: Bash@3
|
|
||||||
displayName: Print manifest.json
|
cat $manifest_json
|
||||||
condition: always()
|
|
||||||
continueOnError: true
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: |
|
|
||||||
cat $(Build.ArtifactStagingDirectory)/$(manifest_filename).json
|
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Create manifest.html
|
displayName: Create manifest.html
|
||||||
condition: always()
|
condition: always()
|
||||||
@@ -129,10 +120,10 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
manifest_html="$(Build.ArtifactStagingDirectory)/$(manifest_filename).html"
|
manifest_html=$(Build.ArtifactStagingDirectory)/manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.html
|
||||||
cat <<EOF > $manifest_html
|
cat <<EOF > $manifest_html
|
||||||
<html>
|
<html>
|
||||||
<h1>$(manifest_filename)</h1>
|
<h1>Manifest</h1>
|
||||||
<h2>Current</h2>
|
<h2>Current</h2>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -172,7 +163,7 @@ steps:
|
|||||||
continueOnError: true
|
continueOnError: true
|
||||||
inputs:
|
inputs:
|
||||||
tabName: Manifest
|
tabName: Manifest
|
||||||
reportDir: $(Build.ArtifactStagingDirectory)/$(manifest_filename).html
|
reportDir: $(Build.ArtifactStagingDirectory)/manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.html
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: Save manifest artifact file name
|
displayName: Save manifest artifact file name
|
||||||
condition: always()
|
condition: always()
|
||||||
@@ -181,5 +172,5 @@ steps:
|
|||||||
workingDirectory: $(Pipeline.Workspace)
|
workingDirectory: $(Pipeline.Workspace)
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
echo "$(manifest_filename).html" >> pipelineArtifacts.txt
|
echo "manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.html" >> pipelineArtifacts.txt
|
||||||
echo "$(manifest_filename).json" >> pipelineArtifacts.txt
|
echo "manifest_${{ parameters.componentName }}_$(Build.BuildId)_$(Build.BuildNumber)_${{ parameters.os }}_${{ parameters.gpuTarget }}_${{ parameters.artifactName }}.json" >> pipelineArtifacts.txt
|
||||||
|
|||||||
@@ -7,16 +7,17 @@ steps:
|
|||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
name: downloadCKBuild
|
name: downloadCKBuild
|
||||||
displayName: Download specific CK build
|
displayName: Download specific CK build
|
||||||
retryCountOnTaskFailure: 3
|
continueOnError: true
|
||||||
env:
|
env:
|
||||||
CXX: $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
CXX: $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang++
|
||||||
CC: $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
CC: $(Agent.BuildDirectory)/rocm/llvm/bin/amdclang
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
workingDirectory: $(Agent.BuildDirectory)/s
|
workingDirectory: $(Build.SourcesDirectory)
|
||||||
script: |
|
script: |
|
||||||
AZ_API="https://dev.azure.com/ROCm-CI/ROCm-CI/_apis"
|
AZ_API="https://dev.azure.com/ROCm-CI/ROCm-CI/_apis"
|
||||||
GH_API="https://api.github.com/repos/ROCm"
|
GH_API="https://api.github.com/repos/ROCm"
|
||||||
|
ARTIFACT_NAME="composablekernelbuild${{ parameters.gpuTarget }}"
|
||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
|
||||||
# Try to find an Azure build for the specific CK commit called out in MIOpen's requirements.txt
|
# Try to find an Azure build for the specific CK commit called out in MIOpen's requirements.txt
|
||||||
@@ -38,15 +39,8 @@ steps:
|
|||||||
echo "Found specific CK build ID: $CK_BUILD_ID"
|
echo "Found specific CK build ID: $CK_BUILD_ID"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AZURE_URL="$AZ_API/build/builds/$CK_BUILD_ID/artifacts?api-version=7.1"
|
AZURE_URL="$AZ_API/build/builds/$CK_BUILD_ID/artifacts?artifactName=$ARTIFACT_NAME&api-version=7.1"
|
||||||
ARTIFACT_URL=$(curl -s $AZURE_URL | \
|
ARTIFACT_URL=$(curl -s $AZURE_URL | jq '.resource.downloadUrl' | tr -d '"')
|
||||||
jq --arg gfx "${{ parameters.gpuTarget }}" '
|
|
||||||
.value
|
|
||||||
| map(select(.name | test($gfx)))
|
|
||||||
| max_by(.name | capture("_(?<dropNumber>\\d+)").dropNumber | tonumber)
|
|
||||||
| .resource.downloadUrl
|
|
||||||
' | \
|
|
||||||
tr -d '"')
|
|
||||||
|
|
||||||
# If using the specific CK commit and it doesn't have any valid artifacts, use latest successful CK build instead
|
# If using the specific CK commit and it doesn't have any valid artifacts, use latest successful CK build instead
|
||||||
if { [[ -z "$ARTIFACT_URL" ]] || [[ "$ARTIFACT_URL" == "null" ]]; } && [[ $EXIT_CODE -eq 0 ]]; then
|
if { [[ -z "$ARTIFACT_URL" ]] || [[ "$ARTIFACT_URL" == "null" ]]; } && [[ $EXIT_CODE -eq 0 ]]; then
|
||||||
@@ -54,45 +48,17 @@ steps:
|
|||||||
LATEST_BUILD_URL="$AZ_API/build/builds?definitions=$(COMPOSABLE_KERNEL_PIPELINE_ID)&statusFilter=completed&resultFilter=succeeded&\$top=1&api-version=7.1"
|
LATEST_BUILD_URL="$AZ_API/build/builds?definitions=$(COMPOSABLE_KERNEL_PIPELINE_ID)&statusFilter=completed&resultFilter=succeeded&\$top=1&api-version=7.1"
|
||||||
CK_BUILD_ID=$(curl -s $LATEST_BUILD_URL | jq '.value[0].id')
|
CK_BUILD_ID=$(curl -s $LATEST_BUILD_URL | jq '.value[0].id')
|
||||||
echo "Found latest CK build ID: $CK_BUILD_ID"
|
echo "Found latest CK build ID: $CK_BUILD_ID"
|
||||||
AZURE_URL="$AZ_API/build/builds/$CK_BUILD_ID/artifacts?api-version=7.1"
|
AZURE_URL="$AZ_API/build/builds/$CK_BUILD_ID/artifacts?artifactName=$ARTIFACT_NAME&api-version=7.1"
|
||||||
ARTIFACT_URL=$(curl -s $AZURE_URL | \
|
ARTIFACT_URL=$(curl -s $AZURE_URL | jq '.resource.downloadUrl' | tr -d '"')
|
||||||
jq --arg os "ubuntu2204" --arg gfx "${{ parameters.gpuTarget }}" '
|
|
||||||
.value
|
|
||||||
| map(select(.name | test($os) and test($gfx)))
|
|
||||||
| max_by(.name | capture("_(?<dropNumber>\\d+)").dropNumber | tonumber)
|
|
||||||
| .resource.downloadUrl
|
|
||||||
' | \
|
|
||||||
tr -d '"')
|
|
||||||
EXIT_CODE=2
|
EXIT_CODE=2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Downloading CK artifact from $ARTIFACT_URL"
|
echo "Downloading CK artifact from $ARTIFACT_URL"
|
||||||
|
wget --tries=5 --waitretry=10 --retry-connrefused -nv $ARTIFACT_URL -O $(System.ArtifactsDirectory)/ck.zip
|
||||||
RETRIES=0
|
unzip $(System.ArtifactsDirectory)/ck.zip -d $(System.ArtifactsDirectory)
|
||||||
MAX_RETRIES=5
|
mkdir -p $(Agent.BuildDirectory)/rocm
|
||||||
SUCCESS=false
|
tar -zxvf $(System.ArtifactsDirectory)/$ARTIFACT_NAME/*.tar.gz -C $(Agent.BuildDirectory)/rocm
|
||||||
while [ $RETRIES -lt $MAX_RETRIES ]; do
|
rm -r $(System.ArtifactsDirectory)/ck.zip $(System.ArtifactsDirectory)/$ARTIFACT_NAME
|
||||||
wget -nv $ARTIFACT_URL -O $(System.ArtifactsDirectory)/ck.zip && \
|
|
||||||
unzip $(System.ArtifactsDirectory)/ck.zip -d $(System.ArtifactsDirectory) && \
|
|
||||||
mkdir -p $(Agent.BuildDirectory)/rocm && \
|
|
||||||
tar -zxvf $(System.ArtifactsDirectory)/composable_kernel*/*.tar.gz -C $(Agent.BuildDirectory)/rocm && \
|
|
||||||
rm -r $(System.ArtifactsDirectory)/ck.zip $(System.ArtifactsDirectory)/composable_kernel*
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
SUCCESS=true
|
|
||||||
echo "Successfully downloaded CK."
|
|
||||||
break
|
|
||||||
else
|
|
||||||
RETRIES=$((RETRIES + 1))
|
|
||||||
echo "Failed to download CK on attempt $RETRIES/$MAX_RETRIES, retrying..."
|
|
||||||
sleep 1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ "$SUCCESS" = false ]; then
|
|
||||||
echo "ERROR: failed to download CK after $MAX_RETRIES attempts."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $EXIT_CODE -ne 0 ]]; then
|
if [[ $EXIT_CODE -ne 0 ]]; then
|
||||||
BUILD_COMMIT=$(curl -s $AZ_API/build/builds/$CK_BUILD_ID | jq '.sourceVersion' | tr -d '"')
|
BUILD_COMMIT=$(curl -s $AZ_API/build/builds/$CK_BUILD_ID | jq '.sourceVersion' | tr -d '"')
|
||||||
@@ -103,3 +69,4 @@ steps:
|
|||||||
fi
|
fi
|
||||||
echo "Instead used latest CK build $CK_BUILD_ID for commit $BUILD_COMMIT"
|
echo "Instead used latest CK build $CK_BUILD_ID for commit $BUILD_COMMIT"
|
||||||
fi
|
fi
|
||||||
|
exit $EXIT_CODE
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
parameters:
|
parameters:
|
||||||
|
- name: os
|
||||||
|
type: string
|
||||||
|
default: 'ubuntu2204'
|
||||||
- name: componentName
|
- name: componentName
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
- name: os
|
|
||||||
type: string
|
|
||||||
default: ubuntu2204
|
|
||||||
- name: testDir
|
- name: testDir
|
||||||
type: string
|
type: string
|
||||||
default: build
|
default: 'build'
|
||||||
- name: testExecutable
|
- name: testExecutable
|
||||||
type: string
|
type: string
|
||||||
default: ctest
|
default: 'ctest'
|
||||||
- name: testParameters
|
- name: testParameters
|
||||||
type: string
|
type: string
|
||||||
default: --output-on-failure --force-new-ctest-process --output-junit test_output.xml
|
default: '--output-on-failure --force-new-ctest-process --output-junit test_output.xml'
|
||||||
- name: extraTestParameters
|
- name: extraTestParameters
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
@@ -22,7 +22,7 @@ parameters:
|
|||||||
default: test_output.xml
|
default: test_output.xml
|
||||||
- name: testOutputFormat
|
- name: testOutputFormat
|
||||||
type: string
|
type: string
|
||||||
default: JUnit
|
default: 'JUnit'
|
||||||
values:
|
values:
|
||||||
- JUnit
|
- JUnit
|
||||||
- NUnit
|
- NUnit
|
||||||
@@ -32,27 +32,30 @@ parameters:
|
|||||||
- name: testPublishResults
|
- name: testPublishResults
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
- name: allowComponentTestFailure
|
- name: allowPartiallySucceededBuilds
|
||||||
type: object
|
type: object
|
||||||
default:
|
default:
|
||||||
- amdsmi
|
- amdsmi
|
||||||
- HIPIFY
|
|
||||||
- rocm_smi_lib
|
|
||||||
- roctracer
|
|
||||||
# the following do not use this template but allow test failures, included for completeness
|
|
||||||
- aomp
|
- aomp
|
||||||
- ROCgdb
|
- HIPIFY
|
||||||
|
- MIVisionX
|
||||||
|
- rocm_smi_lib
|
||||||
|
- rocprofiler-sdk
|
||||||
|
- roctracer
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# run test, continue on failure to publish results
|
# run test, continue on failure to publish results
|
||||||
# and to publish build artifacts
|
# and to publish build artifacts
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
displayName: '${{ parameters.componentName }} Test'
|
displayName: '${{ parameters.componentName }} Test'
|
||||||
continueOnError: ${{ containsValue(parameters.allowComponentTestFailure, parameters.componentName) }}
|
continueOnError: ${{ containsValue(parameters.allowPartiallySucceededBuilds, parameters.componentName) }}
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
|
${{ if ne(parameters.os, 'almalinux8') }}:
|
||||||
|
script: ${{ parameters.testExecutable }} ${{ parameters.testParameters }} ${{ parameters.extraTestParameters }}
|
||||||
|
${{ else }}:
|
||||||
script: |
|
script: |
|
||||||
${{ iif(eq(parameters.os, 'almalinux8'), 'source /opt/rh/gcc-toolset-14/enable', '') }}
|
source /opt/rh/gcc-toolset-14/enable
|
||||||
${{ parameters.testExecutable }} ${{ parameters.testParameters }} ${{ parameters.extraTestParameters }}
|
${{ parameters.testExecutable }} ${{ parameters.testParameters }} ${{ parameters.extraTestParameters }}
|
||||||
workingDirectory: ${{ parameters.testDir }}
|
workingDirectory: ${{ parameters.testDir }}
|
||||||
- ${{ if parameters.testPublishResults }}:
|
- ${{ if parameters.testPublishResults }}:
|
||||||
|
|||||||
@@ -23,25 +23,145 @@ variables:
|
|||||||
value: rocm-ci_high_build_pool
|
value: rocm-ci_high_build_pool
|
||||||
- name: ULTRA_BUILD_POOL
|
- name: ULTRA_BUILD_POOL
|
||||||
value: rocm-ci_ultra_build_pool
|
value: rocm-ci_ultra_build_pool
|
||||||
|
- name: ON_PREM_BUILD_POOL
|
||||||
|
value: rocm-ci_build_pool
|
||||||
|
- name: LARGE_DISK_BUILD_POOL
|
||||||
|
value: rocm-ci_larger_base_disk_pool
|
||||||
- name: GFX942_TEST_POOL
|
- name: GFX942_TEST_POOL
|
||||||
value: gfx942_test_pool
|
value: gfx942_test_pool
|
||||||
- name: GFX90A_TEST_POOL
|
- name: GFX90A_TEST_POOL
|
||||||
value: gfx90a_test_pool
|
value: gfx90a_test_pool
|
||||||
- name: LATEST_RELEASE_VERSION
|
- name: LATEST_RELEASE_VERSION
|
||||||
value: 6.4.3
|
value: 6.4.0
|
||||||
- name: REPO_RADEON_VERSION
|
- name: REPO_RADEON_VERSION
|
||||||
value: 6.4.3
|
value: 6.4
|
||||||
- name: NEXT_RELEASE_VERSION
|
- name: NEXT_RELEASE_VERSION
|
||||||
value: 7.0.0
|
value: 6.5.0
|
||||||
- name: LATEST_RELEASE_TAG
|
- name: LATEST_RELEASE_TAG
|
||||||
value: rocm-6.4.3
|
value: rocm-6.4.0
|
||||||
- name: DOCKER_SKIP_GFX
|
- name: DOCKER_SKIP_GFX
|
||||||
value: gfx90a
|
value: gfx90a
|
||||||
|
- name: AMDMIGRAPHX_PIPELINE_ID
|
||||||
|
value: 113
|
||||||
|
- name: AMDSMI_PIPELINE_ID
|
||||||
|
value: 99
|
||||||
|
- name: AOMP_EXTRAS_PIPELINE_ID
|
||||||
|
value: 111
|
||||||
|
- name: AOMP_PIPELINE_ID
|
||||||
|
value: 115
|
||||||
|
- name: CLR_PIPELINE_ID
|
||||||
|
value: 145
|
||||||
- name: COMPOSABLE_KERNEL_PIPELINE_ID
|
- name: COMPOSABLE_KERNEL_PIPELINE_ID
|
||||||
value: 86
|
value: 86
|
||||||
|
- name: FLANG_LEGACY_PIPELINE_ID
|
||||||
|
value: 77
|
||||||
|
- name: HALF_PIPELINE_ID
|
||||||
|
value: 101
|
||||||
- name: HALF560_PIPELINE_ID
|
- name: HALF560_PIPELINE_ID
|
||||||
value: 68
|
value: 68
|
||||||
- name: HALF560_BUILD_ID
|
- name: HALF560_BUILD_ID
|
||||||
value: 621
|
value: 621
|
||||||
- name: HIP_PIPELINE_ID
|
- name: HIP_PIPELINE_ID
|
||||||
value: 93
|
value: 93
|
||||||
|
- name: HIP_TESTS_PIPELINE_ID
|
||||||
|
value: 233
|
||||||
|
- name: HIPBLAS_COMMON_PIPELINE_ID
|
||||||
|
value: 223
|
||||||
|
- name: HIPBLAS_PIPELINE_ID
|
||||||
|
value: 87
|
||||||
|
- name: HIPBLASLT_PIPELINE_ID
|
||||||
|
value: 112
|
||||||
|
- name: HIPCUB_PIPELINE_ID
|
||||||
|
value: 277
|
||||||
|
- name: HIPFFT_PIPELINE_ID
|
||||||
|
value: 121
|
||||||
|
- name: HIPFORT_PIPELINE_ID
|
||||||
|
value: 102
|
||||||
|
- name: HIPIFY_PIPELINE_ID
|
||||||
|
value: 92
|
||||||
|
- name: HIPRAND_PIPELINE_ID
|
||||||
|
value: 90
|
||||||
|
- name: HIPSOLVER_PIPELINE_ID
|
||||||
|
value: 84
|
||||||
|
- name: HIPSPARSE_PIPELINE_ID
|
||||||
|
value: 83
|
||||||
|
- name: HIPSPARSELT_PIPELINE_ID
|
||||||
|
value: 104
|
||||||
|
- name: HIPTENSOR_PIPELINE_ID
|
||||||
|
value: 105
|
||||||
|
- name: LLVM_PROJECT_PIPELINE_ID
|
||||||
|
value: 2
|
||||||
|
- name: MIOPEN_PIPELINE_ID
|
||||||
|
value: 108
|
||||||
|
- name: MIVISIONX_PIPELINE_ID
|
||||||
|
value: 80
|
||||||
|
- name: RCCL_PIPELINE_ID
|
||||||
|
value: 107
|
||||||
|
- name: RDC_PIPELINE_ID
|
||||||
|
value: 100
|
||||||
|
- name: ROCAL_PIPELINE_ID
|
||||||
|
value: 151
|
||||||
|
- name: ROCALUTION_PIPELINE_ID
|
||||||
|
value: 89
|
||||||
|
- name: ROCBLAS_PIPELINE_ID
|
||||||
|
value: 85
|
||||||
|
- name: ROCDBGAPI_PIPELINE_ID
|
||||||
|
value: 135
|
||||||
|
- name: ROCDECODE_PIPELINE_ID
|
||||||
|
value: 79
|
||||||
|
- name: ROCFFT_PIPELINE_ID
|
||||||
|
value: 120
|
||||||
|
- name: ROCGDB_PIPELINE_ID
|
||||||
|
value: 134
|
||||||
|
- name: ROCJPEG_PIPELINE_ID
|
||||||
|
value: 262
|
||||||
|
- name: ROCM_BANDWIDTH_TEST_PIPELINE_ID
|
||||||
|
value: 88
|
||||||
|
- name: ROCM_CMAKE_PIPELINE_ID
|
||||||
|
value: 6
|
||||||
|
- name: ROCM_CORE_PIPELINE_ID
|
||||||
|
value: 103
|
||||||
|
- name: ROCM_EXAMPLES_PIPELINE_ID
|
||||||
|
value: 216
|
||||||
|
- name: ROCM_SMI_LIB_PIPELINE_ID
|
||||||
|
value: 96
|
||||||
|
- name: ROCMINFO_PIPELINE_ID
|
||||||
|
value: 91
|
||||||
|
- name: ROCMLIR_PIPELINE_ID
|
||||||
|
value: 229
|
||||||
|
- name: ROCMVALIDATIONSUITE_PIPELINE_ID
|
||||||
|
value: 106
|
||||||
|
- name: ROCPRIM_PIPELINE_ID
|
||||||
|
value: 273
|
||||||
|
- name: ROCPROFILER_COMPUTE_PIPELINE_ID
|
||||||
|
value: 257
|
||||||
|
- name: ROCPROFILER_REGISTER_PIPELINE_ID
|
||||||
|
value: 1
|
||||||
|
- name: ROCPROFILER_SDK_PIPELINE_ID
|
||||||
|
value: 246
|
||||||
|
- name: ROCPROFILER_SYSTEMS_PIPELINE_ID
|
||||||
|
value: 255
|
||||||
|
- name: ROCPROFILER_PIPELINE_ID
|
||||||
|
value: 143
|
||||||
|
- name: ROCPYDECODE_PIPELINE_ID
|
||||||
|
value: 239
|
||||||
|
- name: ROCR_DEBUG_AGENT_PIPELINE_ID
|
||||||
|
value: 136
|
||||||
|
- name: ROCR_RUNTIME_PIPELINE_ID
|
||||||
|
value: 10
|
||||||
|
- name: ROCRAND_PIPELINE_ID
|
||||||
|
value: 95
|
||||||
|
- name: ROCSOLVER_PIPELINE_ID
|
||||||
|
value: 81
|
||||||
|
- name: ROCSPARSE_PIPELINE_ID
|
||||||
|
value: 98
|
||||||
|
- name: ROCTHRUST_PIPELINE_ID
|
||||||
|
value: 276
|
||||||
|
- name: ROCTRACER_PIPELINE_ID
|
||||||
|
value: 141
|
||||||
|
- name: ROCWMMA_PIPELINE_ID
|
||||||
|
value: 109
|
||||||
|
- name: RPP_PIPELINE_ID
|
||||||
|
value: 78
|
||||||
|
- name: TRANSFERBENCH_PIPELINE_ID
|
||||||
|
value: 265
|
||||||
|
|||||||
244
.wordlist.txt
244
.wordlist.txt
@@ -3,7 +3,8 @@ ABI
|
|||||||
ACE
|
ACE
|
||||||
ACEs
|
ACEs
|
||||||
ACS
|
ACS
|
||||||
AITER
|
AccVGPR
|
||||||
|
AccVGPRs
|
||||||
ALU
|
ALU
|
||||||
AMD
|
AMD
|
||||||
AMDGPU
|
AMDGPU
|
||||||
@@ -12,44 +13,35 @@ AMDMIGraphX
|
|||||||
AMI
|
AMI
|
||||||
AOCC
|
AOCC
|
||||||
AOMP
|
AOMP
|
||||||
AOT
|
|
||||||
AOTriton
|
AOTriton
|
||||||
APBDIS
|
APBDIS
|
||||||
APIC
|
APIC
|
||||||
APIs
|
APIs
|
||||||
APU
|
APU
|
||||||
APUs
|
APUs
|
||||||
ASAN
|
|
||||||
ASIC
|
ASIC
|
||||||
ASICs
|
ASICs
|
||||||
ASan
|
ASan
|
||||||
|
ASAN
|
||||||
ASm
|
ASm
|
||||||
ATI
|
ATI
|
||||||
AccVGPR
|
atomicRMW
|
||||||
AccVGPRs
|
|
||||||
AddressSanitizer
|
AddressSanitizer
|
||||||
AlexNet
|
AlexNet
|
||||||
AllReduce
|
|
||||||
Andrej
|
Andrej
|
||||||
Arb
|
Arb
|
||||||
Autocast
|
Autocast
|
||||||
BARs
|
BARs
|
||||||
BKC
|
|
||||||
BLAS
|
BLAS
|
||||||
BMC
|
BMC
|
||||||
BabelStream
|
BabelStream
|
||||||
BatchNorm
|
|
||||||
Bitwise
|
|
||||||
Blit
|
Blit
|
||||||
Blockwise
|
Blockwise
|
||||||
Bluefield
|
Bluefield
|
||||||
Bootloader
|
Bootloader
|
||||||
BrainFloat
|
|
||||||
Broadcom
|
|
||||||
CAS
|
CAS
|
||||||
CCD
|
CCD
|
||||||
CDNA
|
CDNA
|
||||||
CGUI
|
|
||||||
CHTML
|
CHTML
|
||||||
CIFAR
|
CIFAR
|
||||||
CLI
|
CLI
|
||||||
@@ -63,8 +55,8 @@ CPF
|
|||||||
CPP
|
CPP
|
||||||
CPU
|
CPU
|
||||||
CPUs
|
CPUs
|
||||||
|
Cron
|
||||||
CSC
|
CSC
|
||||||
CSDATA
|
|
||||||
CSE
|
CSE
|
||||||
CSV
|
CSV
|
||||||
CSn
|
CSn
|
||||||
@@ -73,45 +65,40 @@ CTests
|
|||||||
CU
|
CU
|
||||||
CUDA
|
CUDA
|
||||||
CUs
|
CUs
|
||||||
CX
|
|
||||||
CXX
|
CXX
|
||||||
Cavium
|
Cavium
|
||||||
CentOS
|
CentOS
|
||||||
ChatGPT
|
ChatGPT
|
||||||
CoRR
|
CoRR
|
||||||
Codespaces
|
Codespaces
|
||||||
ComfyUI
|
|
||||||
Commitizen
|
Commitizen
|
||||||
CommonMark
|
CommonMark
|
||||||
Concretized
|
Concretized
|
||||||
Conda
|
Conda
|
||||||
ConnectX
|
ConnectX
|
||||||
CountOnes
|
|
||||||
Cron
|
|
||||||
CuPy
|
CuPy
|
||||||
|
da
|
||||||
|
Dashboarding
|
||||||
DBRX
|
DBRX
|
||||||
DDR
|
DDR
|
||||||
DF
|
DF
|
||||||
DGEMM
|
DGEMM
|
||||||
DGL
|
dGPU
|
||||||
DGLGraph
|
dGPUs
|
||||||
DIMM
|
DIMM
|
||||||
DKMS
|
DKMS
|
||||||
DL
|
DL
|
||||||
DMA
|
DMA
|
||||||
DNN
|
DNN
|
||||||
DNNL
|
DNNL
|
||||||
DOMContentLoaded
|
|
||||||
DPM
|
DPM
|
||||||
DRI
|
DRI
|
||||||
DW
|
DW
|
||||||
DWORD
|
DWORD
|
||||||
Dashboarding
|
|
||||||
Dask
|
Dask
|
||||||
DataFrame
|
DataFrame
|
||||||
DataLoader
|
DataLoader
|
||||||
DataParallel
|
DataParallel
|
||||||
Dataloading
|
|
||||||
Debian
|
Debian
|
||||||
DeepSeek
|
DeepSeek
|
||||||
DeepSpeed
|
DeepSpeed
|
||||||
@@ -119,9 +106,7 @@ Dependabot
|
|||||||
Deprecations
|
Deprecations
|
||||||
DevCap
|
DevCap
|
||||||
DirectX
|
DirectX
|
||||||
Disaggregated
|
|
||||||
Dockerfile
|
Dockerfile
|
||||||
Dockerized
|
|
||||||
Doxygen
|
Doxygen
|
||||||
ELMo
|
ELMo
|
||||||
ENDPGM
|
ENDPGM
|
||||||
@@ -133,7 +118,6 @@ FFT
|
|||||||
FFTs
|
FFTs
|
||||||
FFmpeg
|
FFmpeg
|
||||||
FHS
|
FHS
|
||||||
FIFOs
|
|
||||||
FIXME
|
FIXME
|
||||||
FMA
|
FMA
|
||||||
FP
|
FP
|
||||||
@@ -141,14 +125,10 @@ FX
|
|||||||
Filesystem
|
Filesystem
|
||||||
FindDb
|
FindDb
|
||||||
Flang
|
Flang
|
||||||
FlashAttention
|
|
||||||
FlashInfer
|
|
||||||
FlashInfer’s
|
|
||||||
FluxBenchmark
|
FluxBenchmark
|
||||||
Fortran
|
Fortran
|
||||||
Fuyu
|
Fuyu
|
||||||
GALB
|
GALB
|
||||||
GAT
|
|
||||||
GCC
|
GCC
|
||||||
GCD
|
GCD
|
||||||
GCDs
|
GCDs
|
||||||
@@ -160,32 +140,27 @@ GDS
|
|||||||
GEMM
|
GEMM
|
||||||
GEMMs
|
GEMMs
|
||||||
GFLOPS
|
GFLOPS
|
||||||
GFXIP
|
|
||||||
GFortran
|
GFortran
|
||||||
GGUF
|
GFXIP
|
||||||
|
Gemma
|
||||||
|
GiB
|
||||||
GIM
|
GIM
|
||||||
GL
|
GL
|
||||||
|
Glibc
|
||||||
GLXT
|
GLXT
|
||||||
|
Gloo
|
||||||
GMI
|
GMI
|
||||||
GPG
|
GPG
|
||||||
GPGPU
|
|
||||||
GPR
|
GPR
|
||||||
GPT
|
GPT
|
||||||
GPU
|
GPU
|
||||||
GPU's
|
GPU's
|
||||||
GPUs
|
GPUs
|
||||||
GRBM
|
GRBM
|
||||||
GRE
|
|
||||||
Gemma
|
|
||||||
GenAI
|
GenAI
|
||||||
GenZ
|
GenZ
|
||||||
GiB
|
|
||||||
GitHub
|
GitHub
|
||||||
Gitpod
|
Gitpod
|
||||||
Glibc
|
|
||||||
Gloo
|
|
||||||
GraphSage
|
|
||||||
Graphbolt
|
|
||||||
HBM
|
HBM
|
||||||
HCA
|
HCA
|
||||||
HGX
|
HGX
|
||||||
@@ -202,24 +177,20 @@ HSA
|
|||||||
HW
|
HW
|
||||||
HWE
|
HWE
|
||||||
HWS
|
HWS
|
||||||
HX
|
|
||||||
Haswell
|
Haswell
|
||||||
Higgs
|
Higgs
|
||||||
Huggingface
|
|
||||||
HunyuanVideo
|
|
||||||
Hyperparameters
|
Hyperparameters
|
||||||
IB
|
Huggingface
|
||||||
ICD
|
ICD
|
||||||
ICT
|
|
||||||
ICV
|
ICV
|
||||||
IDE
|
IDE
|
||||||
IDEs
|
IDEs
|
||||||
IFWI
|
IFWI
|
||||||
IMDb
|
IMDb
|
||||||
|
IncDec
|
||||||
IOMMU
|
IOMMU
|
||||||
IOP
|
IOP
|
||||||
IOPM
|
IOPM
|
||||||
IOPS
|
|
||||||
IOV
|
IOV
|
||||||
IRQ
|
IRQ
|
||||||
ISA
|
ISA
|
||||||
@@ -227,7 +198,6 @@ ISV
|
|||||||
ISVs
|
ISVs
|
||||||
ITL
|
ITL
|
||||||
ImageNet
|
ImageNet
|
||||||
IncDec
|
|
||||||
InfiniBand
|
InfiniBand
|
||||||
Inlines
|
Inlines
|
||||||
IntelliSense
|
IntelliSense
|
||||||
@@ -236,8 +206,8 @@ Intersphinx
|
|||||||
Intra
|
Intra
|
||||||
Ioffe
|
Ioffe
|
||||||
JAX's
|
JAX's
|
||||||
JSON
|
|
||||||
Jinja
|
Jinja
|
||||||
|
JSON
|
||||||
Jupyter
|
Jupyter
|
||||||
KFD
|
KFD
|
||||||
KFDTest
|
KFDTest
|
||||||
@@ -245,10 +215,9 @@ KMD
|
|||||||
KV
|
KV
|
||||||
KVM
|
KVM
|
||||||
Karpathy's
|
Karpathy's
|
||||||
|
KiB
|
||||||
Keras
|
Keras
|
||||||
Khronos
|
Khronos
|
||||||
KiB
|
|
||||||
Kineto
|
|
||||||
LAPACK
|
LAPACK
|
||||||
LCLK
|
LCLK
|
||||||
LDS
|
LDS
|
||||||
@@ -256,22 +225,19 @@ LLM
|
|||||||
LLMs
|
LLMs
|
||||||
LLVM
|
LLVM
|
||||||
LM
|
LM
|
||||||
LRU
|
|
||||||
LSAN
|
LSAN
|
||||||
LSTMs
|
|
||||||
LSan
|
LSan
|
||||||
LTS
|
LTS
|
||||||
LanguageCrossEntropy
|
LanguageCrossEntropy
|
||||||
LoRA
|
LoRA
|
||||||
LteAll
|
|
||||||
MECO
|
|
||||||
MEM
|
MEM
|
||||||
MERCHANTABILITY
|
MERCHANTABILITY
|
||||||
MFMA
|
MFMA
|
||||||
|
MiB
|
||||||
MIGraphX
|
MIGraphX
|
||||||
MIOpen
|
MIOpen
|
||||||
MIOpen's
|
|
||||||
MIOpenGEMM
|
MIOpenGEMM
|
||||||
|
MIOpen's
|
||||||
MIVisionX
|
MIVisionX
|
||||||
MLM
|
MLM
|
||||||
MMA
|
MMA
|
||||||
@@ -284,57 +250,45 @@ MPT
|
|||||||
MSVC
|
MSVC
|
||||||
MVAPICH
|
MVAPICH
|
||||||
MVFFR
|
MVFFR
|
||||||
MXFP
|
|
||||||
Makefile
|
Makefile
|
||||||
Makefiles
|
Makefiles
|
||||||
ManyLinux
|
|
||||||
Matplotlib
|
Matplotlib
|
||||||
Matrox
|
Matrox
|
||||||
MaxText
|
MaxText
|
||||||
Megablocks
|
|
||||||
Megatrends
|
Megatrends
|
||||||
Megatron
|
Megatron
|
||||||
Mellanox
|
Mellanox
|
||||||
Mellanox's
|
Mellanox's
|
||||||
Meta's
|
Meta's
|
||||||
MiB
|
|
||||||
Miniconda
|
Miniconda
|
||||||
MirroredStrategy
|
MirroredStrategy
|
||||||
Mixtral
|
Mixtral
|
||||||
MoEs
|
|
||||||
Mooncake
|
|
||||||
MosaicML
|
MosaicML
|
||||||
Mpops
|
|
||||||
Multicore
|
Multicore
|
||||||
Multithreaded
|
Multithreaded
|
||||||
MyEnvironment
|
MyEnvironment
|
||||||
MyST
|
MyST
|
||||||
NANOO
|
|
||||||
NBIO
|
NBIO
|
||||||
NBIOs
|
NBIOs
|
||||||
NCCL
|
NCCL
|
||||||
NCF
|
NCF
|
||||||
NCS
|
|
||||||
NFS
|
NFS
|
||||||
NIC
|
NIC
|
||||||
NICs
|
NICs
|
||||||
NLI
|
NLI
|
||||||
NLP
|
NLP
|
||||||
NN
|
|
||||||
NOP
|
|
||||||
NPKit
|
NPKit
|
||||||
NPS
|
NPS
|
||||||
NSP
|
NSP
|
||||||
NUMA
|
NUMA
|
||||||
NVCC
|
NVCC
|
||||||
NVIDIA
|
NVIDIA
|
||||||
NVLink
|
|
||||||
NVPTX
|
NVPTX
|
||||||
NaN
|
NaN
|
||||||
Nano
|
Nano
|
||||||
Navi
|
Navi
|
||||||
NoReturn
|
|
||||||
Noncoherently
|
Noncoherently
|
||||||
|
NoReturn
|
||||||
NousResearch's
|
NousResearch's
|
||||||
NumPy
|
NumPy
|
||||||
OAM
|
OAM
|
||||||
@@ -359,8 +313,9 @@ OpenMPI
|
|||||||
OpenSSL
|
OpenSSL
|
||||||
OpenVX
|
OpenVX
|
||||||
OpenXLA
|
OpenXLA
|
||||||
Optim
|
|
||||||
Oversubscription
|
Oversubscription
|
||||||
|
PagedAttention
|
||||||
|
Pallas
|
||||||
PCC
|
PCC
|
||||||
PCI
|
PCI
|
||||||
PCIe
|
PCIe
|
||||||
@@ -368,14 +323,11 @@ PEFT
|
|||||||
PEQT
|
PEQT
|
||||||
PIL
|
PIL
|
||||||
PILImage
|
PILImage
|
||||||
PLDM
|
|
||||||
POR
|
POR
|
||||||
PRNG
|
PRNG
|
||||||
PRs
|
PRs
|
||||||
PaLM
|
PaLM
|
||||||
Pageable
|
Pageable
|
||||||
PagedAttention
|
|
||||||
Pallas
|
|
||||||
PeerDirect
|
PeerDirect
|
||||||
PerfDb
|
PerfDb
|
||||||
Perfetto
|
Perfetto
|
||||||
@@ -385,11 +337,10 @@ PowerEdge
|
|||||||
PowerShell
|
PowerShell
|
||||||
Pretrained
|
Pretrained
|
||||||
Pretraining
|
Pretraining
|
||||||
Primus
|
|
||||||
Profiler's
|
Profiler's
|
||||||
PyPi
|
PyPi
|
||||||
PyTorch
|
|
||||||
Pytest
|
Pytest
|
||||||
|
PyTorch
|
||||||
Qcycles
|
Qcycles
|
||||||
Qwen
|
Qwen
|
||||||
RAII
|
RAII
|
||||||
@@ -401,15 +352,14 @@ RDMA
|
|||||||
RDNA
|
RDNA
|
||||||
README
|
README
|
||||||
RHEL
|
RHEL
|
||||||
RLHF
|
|
||||||
RMW
|
RMW
|
||||||
RNN
|
RNN
|
||||||
RNNs
|
RNNs
|
||||||
ROC
|
ROC
|
||||||
ROCProfiler
|
ROCProfiler
|
||||||
ROCT
|
ROCT
|
||||||
ROCTracer
|
|
||||||
ROCTx
|
ROCTx
|
||||||
|
ROCTracer
|
||||||
ROCclr
|
ROCclr
|
||||||
ROCdbgapi
|
ROCdbgapi
|
||||||
ROCgdb
|
ROCgdb
|
||||||
@@ -424,10 +374,8 @@ RPP
|
|||||||
RST
|
RST
|
||||||
RW
|
RW
|
||||||
Radeon
|
Radeon
|
||||||
Recomputation
|
|
||||||
RelWithDebInfo
|
RelWithDebInfo
|
||||||
Req
|
Req
|
||||||
ResNet
|
|
||||||
Rickle
|
Rickle
|
||||||
RoCE
|
RoCE
|
||||||
Runfile
|
Runfile
|
||||||
@@ -436,12 +384,10 @@ SALU
|
|||||||
SBIOS
|
SBIOS
|
||||||
SCA
|
SCA
|
||||||
SDK
|
SDK
|
||||||
SDKs
|
|
||||||
SDMA
|
SDMA
|
||||||
SDPA
|
SDPA
|
||||||
SDRAM
|
SDRAM
|
||||||
SENDMSG
|
SENDMSG
|
||||||
SGLang
|
|
||||||
SGPR
|
SGPR
|
||||||
SGPRs
|
SGPRs
|
||||||
SHA
|
SHA
|
||||||
@@ -454,7 +400,6 @@ SKUs
|
|||||||
SLES
|
SLES
|
||||||
SLURM
|
SLURM
|
||||||
SMEM
|
SMEM
|
||||||
SMFMA
|
|
||||||
SMI
|
SMI
|
||||||
SMT
|
SMT
|
||||||
SPI
|
SPI
|
||||||
@@ -463,12 +408,10 @@ SRAM
|
|||||||
SRAMECC
|
SRAMECC
|
||||||
SVD
|
SVD
|
||||||
SWE
|
SWE
|
||||||
ScaledGEMM
|
|
||||||
SerDes
|
SerDes
|
||||||
ShareGPT
|
ShareGPT
|
||||||
Shlens
|
Shlens
|
||||||
Skylake
|
Skylake
|
||||||
Slurm
|
|
||||||
Softmax
|
Softmax
|
||||||
Spack
|
Spack
|
||||||
SplitK
|
SplitK
|
||||||
@@ -476,38 +419,32 @@ Supermicro
|
|||||||
Szegedy
|
Szegedy
|
||||||
TCA
|
TCA
|
||||||
TCC
|
TCC
|
||||||
TCCs
|
|
||||||
TCI
|
TCI
|
||||||
TCIU
|
TCIU
|
||||||
TCP
|
TCP
|
||||||
TCR
|
TCR
|
||||||
TF
|
TF
|
||||||
TFLOPS
|
TFLOPS
|
||||||
THREADGROUPS
|
|
||||||
TP
|
TP
|
||||||
TPS
|
TPS
|
||||||
TPU
|
TPU
|
||||||
TPUs
|
TPUs
|
||||||
TSME
|
TSME
|
||||||
TVM
|
|
||||||
TagRAM
|
|
||||||
Tagram
|
Tagram
|
||||||
Taichi
|
|
||||||
Taichi's
|
|
||||||
TensileLite
|
TensileLite
|
||||||
TensorBoard
|
TensorBoard
|
||||||
TensorFloat
|
|
||||||
TensorFlow
|
TensorFlow
|
||||||
TensorParallel
|
TensorParallel
|
||||||
TensorRT
|
|
||||||
TheRock
|
|
||||||
ToC
|
ToC
|
||||||
TopK
|
|
||||||
TorchAudio
|
TorchAudio
|
||||||
|
torchaudio
|
||||||
TorchElastic
|
TorchElastic
|
||||||
TorchMIGraphX
|
TorchMIGraphX
|
||||||
|
torchrec
|
||||||
TorchScript
|
TorchScript
|
||||||
TorchServe
|
TorchServe
|
||||||
|
torchserve
|
||||||
|
torchtext
|
||||||
TorchVision
|
TorchVision
|
||||||
TransferBench
|
TransferBench
|
||||||
TrapStatus
|
TrapStatus
|
||||||
@@ -519,15 +456,12 @@ UE
|
|||||||
UIF
|
UIF
|
||||||
UMC
|
UMC
|
||||||
USM
|
USM
|
||||||
USM
|
|
||||||
UTCL
|
UTCL
|
||||||
UTCL
|
|
||||||
UTIL
|
|
||||||
UTIL
|
UTIL
|
||||||
UltraChat
|
UltraChat
|
||||||
Uncached
|
Uncached
|
||||||
Unhandled
|
|
||||||
Unittests
|
Unittests
|
||||||
|
Unhandled
|
||||||
VALU
|
VALU
|
||||||
VBIOS
|
VBIOS
|
||||||
VCN
|
VCN
|
||||||
@@ -541,10 +475,8 @@ VSIX
|
|||||||
VSkipped
|
VSkipped
|
||||||
Vanhoucke
|
Vanhoucke
|
||||||
Vulkan
|
Vulkan
|
||||||
WDAG
|
|
||||||
WGP
|
WGP
|
||||||
WGPs
|
WGPs
|
||||||
WR
|
|
||||||
WX
|
WX
|
||||||
WikiText
|
WikiText
|
||||||
Wojna
|
Wojna
|
||||||
@@ -562,14 +494,12 @@ Xilinx
|
|||||||
Xnack
|
Xnack
|
||||||
Xteam
|
Xteam
|
||||||
YAML
|
YAML
|
||||||
YAMLs
|
|
||||||
YML
|
YML
|
||||||
YModel
|
YModel
|
||||||
ZeRO
|
ZeRO
|
||||||
ZenDNN
|
ZenDNN
|
||||||
accuracies
|
accuracies
|
||||||
activations
|
activations
|
||||||
addEventListener
|
|
||||||
addr
|
addr
|
||||||
ade
|
ade
|
||||||
ai
|
ai
|
||||||
@@ -579,15 +509,12 @@ allocator
|
|||||||
allocators
|
allocators
|
||||||
amdgpu
|
amdgpu
|
||||||
api
|
api
|
||||||
aten
|
|
||||||
atmi
|
atmi
|
||||||
atomicRMW
|
|
||||||
atomics
|
atomics
|
||||||
autogenerated
|
autogenerated
|
||||||
autotune
|
autotune
|
||||||
avx
|
avx
|
||||||
awk
|
awk
|
||||||
az
|
|
||||||
backend
|
backend
|
||||||
backends
|
backends
|
||||||
bb
|
bb
|
||||||
@@ -598,16 +525,16 @@ bilinear
|
|||||||
bitcode
|
bitcode
|
||||||
bitsandbytes
|
bitsandbytes
|
||||||
bitwise
|
bitwise
|
||||||
|
Bitwise
|
||||||
blit
|
blit
|
||||||
bootloader
|
bootloader
|
||||||
boson
|
boson
|
||||||
bosons
|
bosons
|
||||||
br
|
br
|
||||||
btn
|
BrainFloat
|
||||||
buildable
|
buildable
|
||||||
bursty
|
bursty
|
||||||
bzip
|
bzip
|
||||||
cTDP
|
|
||||||
cacheable
|
cacheable
|
||||||
carveout
|
carveout
|
||||||
cd
|
cd
|
||||||
@@ -616,22 +543,17 @@ centric
|
|||||||
changelog
|
changelog
|
||||||
checkpointing
|
checkpointing
|
||||||
chiplet
|
chiplet
|
||||||
classList
|
|
||||||
cmake
|
cmake
|
||||||
cmd
|
cmd
|
||||||
coalescable
|
coalescable
|
||||||
codename
|
codename
|
||||||
collater
|
collater
|
||||||
comfyui
|
|
||||||
comgr
|
comgr
|
||||||
compat
|
|
||||||
completers
|
completers
|
||||||
composable
|
composable
|
||||||
concretization
|
concretization
|
||||||
config
|
config
|
||||||
configs
|
|
||||||
conformant
|
conformant
|
||||||
const
|
|
||||||
constructible
|
constructible
|
||||||
convolutional
|
convolutional
|
||||||
convolves
|
convolves
|
||||||
@@ -639,18 +561,16 @@ copyable
|
|||||||
cpp
|
cpp
|
||||||
csn
|
csn
|
||||||
cuBLAS
|
cuBLAS
|
||||||
|
cuda
|
||||||
cuDNN
|
cuDNN
|
||||||
|
cudnn
|
||||||
cuFFT
|
cuFFT
|
||||||
cuLIB
|
cuLIB
|
||||||
cuRAND
|
cuRAND
|
||||||
cuSOLVER
|
cuSOLVER
|
||||||
cuSPARSE
|
cuSPARSE
|
||||||
cuda
|
|
||||||
cudnn
|
|
||||||
customizations
|
customizations
|
||||||
dGPU
|
cTDP
|
||||||
dGPUs
|
|
||||||
da
|
|
||||||
dataset
|
dataset
|
||||||
datasets
|
datasets
|
||||||
dataspace
|
dataspace
|
||||||
@@ -660,9 +580,8 @@ datatypes
|
|||||||
dbgapi
|
dbgapi
|
||||||
de
|
de
|
||||||
deallocation
|
deallocation
|
||||||
debian
|
|
||||||
debuggability
|
debuggability
|
||||||
decompositions
|
debian
|
||||||
deepseek
|
deepseek
|
||||||
denoise
|
denoise
|
||||||
denoised
|
denoised
|
||||||
@@ -675,15 +594,11 @@ detections
|
|||||||
dev
|
dev
|
||||||
devicelibs
|
devicelibs
|
||||||
devsel
|
devsel
|
||||||
dgl
|
|
||||||
dimensionality
|
dimensionality
|
||||||
disaggregated
|
|
||||||
disambiguates
|
disambiguates
|
||||||
distro
|
distro
|
||||||
distros
|
distros
|
||||||
dkms
|
dkms
|
||||||
dnf
|
|
||||||
dropless
|
|
||||||
dtype
|
dtype
|
||||||
eb
|
eb
|
||||||
el
|
el
|
||||||
@@ -696,44 +611,34 @@ endpgm
|
|||||||
enqueue
|
enqueue
|
||||||
env
|
env
|
||||||
epilog
|
epilog
|
||||||
etcd
|
|
||||||
etcetera
|
etcetera
|
||||||
ethernet
|
ethernet
|
||||||
exascale
|
exascale
|
||||||
executables
|
executables
|
||||||
fam
|
|
||||||
fam
|
|
||||||
fas
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
filesystem
|
filesystem
|
||||||
forEach
|
|
||||||
fortran
|
fortran
|
||||||
fp
|
fp
|
||||||
framebuffer
|
framebuffer
|
||||||
gRPC
|
gRPC
|
||||||
galb
|
galb
|
||||||
gb
|
|
||||||
gcc
|
gcc
|
||||||
gdb
|
gdb
|
||||||
gemm
|
gemm
|
||||||
getAttribute
|
|
||||||
gfortran
|
gfortran
|
||||||
gfx
|
gfx
|
||||||
githooks
|
githooks
|
||||||
github
|
github
|
||||||
globals
|
globals
|
||||||
gnupg
|
gnupg
|
||||||
gpu
|
|
||||||
grayscale
|
grayscale
|
||||||
gre
|
|
||||||
gx
|
|
||||||
gzip
|
gzip
|
||||||
heterogenous
|
heterogenous
|
||||||
hipBLAS
|
hipBLAS
|
||||||
hipBLASLt
|
hipBLASLt
|
||||||
hipBLASLt's
|
hipBLASLt's
|
||||||
|
hipblaslt
|
||||||
hipCUB
|
hipCUB
|
||||||
hipDataType
|
|
||||||
hipFFT
|
hipFFT
|
||||||
hipFORT
|
hipFORT
|
||||||
hipLIB
|
hipLIB
|
||||||
@@ -744,12 +649,10 @@ hipSPARSELt
|
|||||||
hipTensor
|
hipTensor
|
||||||
hipamd
|
hipamd
|
||||||
hipblas
|
hipblas
|
||||||
hipblaslt
|
|
||||||
hipcc
|
hipcc
|
||||||
hipcub
|
hipcub
|
||||||
hipfft
|
hipfft
|
||||||
hipfort
|
hipfort
|
||||||
hipification
|
|
||||||
hipify
|
hipify
|
||||||
hipsolver
|
hipsolver
|
||||||
hipsparse
|
hipsparse
|
||||||
@@ -758,10 +661,8 @@ hostname
|
|||||||
hotspotting
|
hotspotting
|
||||||
hpc
|
hpc
|
||||||
hpp
|
hpp
|
||||||
href
|
|
||||||
hsa
|
hsa
|
||||||
hsakmt
|
hsakmt
|
||||||
hx
|
|
||||||
hyperparameter
|
hyperparameter
|
||||||
hyperparameters
|
hyperparameters
|
||||||
iDRAC
|
iDRAC
|
||||||
@@ -775,17 +676,13 @@ init
|
|||||||
initializer
|
initializer
|
||||||
inlining
|
inlining
|
||||||
installable
|
installable
|
||||||
instrSize
|
|
||||||
interop
|
interop
|
||||||
interpolators
|
|
||||||
interprocedural
|
interprocedural
|
||||||
intra
|
intra
|
||||||
intrinsics
|
|
||||||
invariants
|
invariants
|
||||||
invocating
|
invocating
|
||||||
ipo
|
ipo
|
||||||
jax
|
jax
|
||||||
json
|
|
||||||
kdb
|
kdb
|
||||||
kfd
|
kfd
|
||||||
kv
|
kv
|
||||||
@@ -800,16 +697,11 @@ linearized
|
|||||||
linter
|
linter
|
||||||
linux
|
linux
|
||||||
llvm
|
llvm
|
||||||
lm
|
|
||||||
localscratch
|
localscratch
|
||||||
logits
|
logits
|
||||||
lossy
|
lossy
|
||||||
lp
|
|
||||||
macOS
|
macOS
|
||||||
matchers
|
matchers
|
||||||
maxtext
|
|
||||||
megablocks
|
|
||||||
megatron
|
|
||||||
microarchitecture
|
microarchitecture
|
||||||
migraphx
|
migraphx
|
||||||
migratable
|
migratable
|
||||||
@@ -821,16 +713,17 @@ mjx
|
|||||||
mkdir
|
mkdir
|
||||||
mlirmiopen
|
mlirmiopen
|
||||||
mtypes
|
mtypes
|
||||||
mul
|
|
||||||
mutex
|
mutex
|
||||||
mvffr
|
mvffr
|
||||||
namespace
|
namespace
|
||||||
namespaces
|
namespaces
|
||||||
nanoGPT
|
nanoGPT
|
||||||
|
NCS
|
||||||
|
NOP
|
||||||
|
NVLink
|
||||||
num
|
num
|
||||||
numref
|
numref
|
||||||
ocl
|
ocl
|
||||||
ol
|
|
||||||
opencl
|
opencl
|
||||||
opencv
|
opencv
|
||||||
openmp
|
openmp
|
||||||
@@ -845,12 +738,9 @@ parallelizing
|
|||||||
param
|
param
|
||||||
parameterization
|
parameterization
|
||||||
passthrough
|
passthrough
|
||||||
pe
|
|
||||||
perf
|
|
||||||
perfcounter
|
perfcounter
|
||||||
performant
|
performant
|
||||||
perl
|
perl
|
||||||
pkgman
|
|
||||||
pragma
|
pragma
|
||||||
pre
|
pre
|
||||||
prebuild
|
prebuild
|
||||||
@@ -870,35 +760,27 @@ preprocessing
|
|||||||
preprocessor
|
preprocessor
|
||||||
prequantized
|
prequantized
|
||||||
prerequisites
|
prerequisites
|
||||||
pretrain
|
|
||||||
pretraining
|
pretraining
|
||||||
primus
|
|
||||||
profiler
|
profiler
|
||||||
profilers
|
profilers
|
||||||
protobuf
|
protobuf
|
||||||
pseudorandom
|
pseudorandom
|
||||||
px
|
|
||||||
py
|
py
|
||||||
pytorch
|
pytorch
|
||||||
|
recommender
|
||||||
|
recommenders
|
||||||
quantile
|
quantile
|
||||||
quantizer
|
quantizer
|
||||||
quasirandom
|
quasirandom
|
||||||
querySelector
|
|
||||||
querySelectorAll
|
|
||||||
queueing
|
queueing
|
||||||
qwen
|
|
||||||
radeon
|
radeon
|
||||||
rccl
|
rccl
|
||||||
rdc
|
rdc
|
||||||
rdma
|
rdma
|
||||||
reStructuredText
|
reStructuredText
|
||||||
recommender
|
|
||||||
recommenders
|
|
||||||
redhat
|
|
||||||
redirections
|
redirections
|
||||||
refactorization
|
refactorization
|
||||||
reformats
|
reformats
|
||||||
reinforcememt
|
|
||||||
repo
|
repo
|
||||||
repos
|
repos
|
||||||
representativeness
|
representativeness
|
||||||
@@ -906,8 +788,6 @@ req
|
|||||||
resampling
|
resampling
|
||||||
rescaling
|
rescaling
|
||||||
reusability
|
reusability
|
||||||
rhel
|
|
||||||
rl
|
|
||||||
roadmap
|
roadmap
|
||||||
roc
|
roc
|
||||||
rocAL
|
rocAL
|
||||||
@@ -934,8 +814,8 @@ rocm
|
|||||||
rocminfo
|
rocminfo
|
||||||
rocprim
|
rocprim
|
||||||
rocprof
|
rocprof
|
||||||
rocprofiler
|
|
||||||
rocprofv
|
rocprofv
|
||||||
|
rocprofiler
|
||||||
rocr
|
rocr
|
||||||
rocrand
|
rocrand
|
||||||
rocsolver
|
rocsolver
|
||||||
@@ -945,31 +825,22 @@ roctracer
|
|||||||
rst
|
rst
|
||||||
runtime
|
runtime
|
||||||
runtimes
|
runtimes
|
||||||
rx
|
|
||||||
ryzen
|
|
||||||
sL
|
sL
|
||||||
scalability
|
scalability
|
||||||
scalable
|
scalable
|
||||||
scipy
|
scipy
|
||||||
seealso
|
seealso
|
||||||
selectedTag
|
|
||||||
sendmsg
|
sendmsg
|
||||||
seqs
|
seqs
|
||||||
serializers
|
serializers
|
||||||
setAttribute
|
|
||||||
sglang
|
|
||||||
shader
|
shader
|
||||||
sharding
|
sharding
|
||||||
sigmoid
|
sigmoid
|
||||||
simd
|
|
||||||
sles
|
|
||||||
sm
|
sm
|
||||||
smi
|
smi
|
||||||
softmax
|
softmax
|
||||||
spack
|
spack
|
||||||
spmm
|
|
||||||
src
|
src
|
||||||
stanford
|
|
||||||
stochastically
|
stochastically
|
||||||
strided
|
strided
|
||||||
subcommand
|
subcommand
|
||||||
@@ -977,22 +848,17 @@ subdirectory
|
|||||||
subexpression
|
subexpression
|
||||||
subfolder
|
subfolder
|
||||||
subfolders
|
subfolders
|
||||||
submatrix
|
|
||||||
submodule
|
submodule
|
||||||
submodules
|
submodules
|
||||||
subnet
|
subnet
|
||||||
supercomputing
|
supercomputing
|
||||||
suse
|
|
||||||
symlink
|
symlink
|
||||||
symlinks
|
symlinks
|
||||||
sys
|
sys
|
||||||
tabindex
|
tabindex
|
||||||
targetContainer
|
|
||||||
td
|
td
|
||||||
tensorfloat
|
tensorfloat
|
||||||
tf
|
|
||||||
th
|
th
|
||||||
threadgroups
|
|
||||||
tokenization
|
tokenization
|
||||||
tokenize
|
tokenize
|
||||||
tokenized
|
tokenized
|
||||||
@@ -1002,21 +868,13 @@ toolchain
|
|||||||
toolchains
|
toolchains
|
||||||
toolset
|
toolset
|
||||||
toolsets
|
toolsets
|
||||||
torchaudio
|
|
||||||
torchrec
|
|
||||||
torchserve
|
|
||||||
torchtext
|
|
||||||
torchtitan
|
|
||||||
torchvision
|
torchvision
|
||||||
tp
|
|
||||||
tqdm
|
tqdm
|
||||||
tracebacks
|
tracebacks
|
||||||
txt
|
txt
|
||||||
uarch
|
uarch
|
||||||
ubuntu
|
|
||||||
udev
|
|
||||||
uncacheable
|
|
||||||
uncached
|
uncached
|
||||||
|
uncacheable
|
||||||
uncorrectable
|
uncorrectable
|
||||||
underoptimized
|
underoptimized
|
||||||
unhandled
|
unhandled
|
||||||
@@ -1025,11 +883,12 @@ unmapped
|
|||||||
unsqueeze
|
unsqueeze
|
||||||
unstacking
|
unstacking
|
||||||
unswitching
|
unswitching
|
||||||
untar
|
|
||||||
untrusted
|
untrusted
|
||||||
untuned
|
untuned
|
||||||
unwindowed
|
|
||||||
upvote
|
upvote
|
||||||
|
USM
|
||||||
|
UTCL
|
||||||
|
UTIL
|
||||||
utils
|
utils
|
||||||
vL
|
vL
|
||||||
variational
|
variational
|
||||||
@@ -1040,8 +899,6 @@ vectorize
|
|||||||
vectorized
|
vectorized
|
||||||
vectorizer
|
vectorizer
|
||||||
vectorizes
|
vectorizes
|
||||||
verl
|
|
||||||
verl's
|
|
||||||
virtualize
|
virtualize
|
||||||
virtualized
|
virtualized
|
||||||
vjxb
|
vjxb
|
||||||
@@ -1060,14 +917,9 @@ writeback
|
|||||||
writebacks
|
writebacks
|
||||||
wrreq
|
wrreq
|
||||||
wzo
|
wzo
|
||||||
xDiT
|
xargs
|
||||||
xGMI
|
xGMI
|
||||||
xPacked
|
xPacked
|
||||||
xargs
|
|
||||||
xcc
|
|
||||||
xdit
|
|
||||||
xt
|
|
||||||
xtx
|
|
||||||
xz
|
xz
|
||||||
yaml
|
yaml
|
||||||
ysvmadyb
|
ysvmadyb
|
||||||
|
|||||||
7348
CHANGELOG.md
Normal file
7348
CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
140
README.md
140
README.md
@@ -23,10 +23,146 @@ source software compilers, debuggers, and libraries. ROCm is fully integrated in
|
|||||||
> A new open source build platform for ROCm is under development at
|
> A new open source build platform for ROCm is under development at
|
||||||
> https://github.com/ROCm/TheRock, featuring a unified CMake build with bundled
|
> https://github.com/ROCm/TheRock, featuring a unified CMake build with bundled
|
||||||
> dependencies, Windows support, and more.
|
> dependencies, Windows support, and more.
|
||||||
|
>
|
||||||
|
> The instructions below describe the prior process for building from source
|
||||||
|
> which will be replaced once TheRock is mature enough.
|
||||||
|
|
||||||
## Getting and Building ROCm from Source
|
## Getting the ROCm Source Code
|
||||||
|
|
||||||
Please use [TheRock](https://github.com/ROCm/TheRock) build system to build ROCm from source.
|
AMD ROCm is built from open source software. It is, therefore, possible to modify the various components of ROCm by downloading the source code and rebuilding the components. The source code for ROCm components can be cloned from each of the GitHub repositories using git. For easy access to download the correct versions of each of these tools, the ROCm repository contains a repo manifest file called [default.xml](./default.xml). You can use this manifest file to download the source code for ROCm software.
|
||||||
|
|
||||||
|
### Installing the repo tool
|
||||||
|
|
||||||
|
The repo tool from Google allows you to manage multiple git repositories simultaneously. Run the following commands to install the repo tool:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p ~/bin/
|
||||||
|
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
||||||
|
chmod a+x ~/bin/repo
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** The ```~/bin/``` folder is used as an example. You can specify a different folder to install the repo tool into if you desire.
|
||||||
|
|
||||||
|
### Installing git-lfs
|
||||||
|
|
||||||
|
Some ROCm projects use the Git Large File Storage (LFS) format that may require you to install git-lfs. Refer to [Git Large File Storage](https://github.com/git-lfs/git-lfs/blob/main/INSTALLING.md) for more information. For example, to install git-lfs for Ubuntu, use the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo apt-get install git-lfs
|
||||||
|
```
|
||||||
|
|
||||||
|
### Downloading the ROCm source code
|
||||||
|
|
||||||
|
The following example shows how to use the repo tool to download the ROCm source code. If you choose a directory other than ~/bin/ to install the repo tool, you must use that chosen directory in the code as shown below:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p ~/ROCm/
|
||||||
|
cd ~/ROCm/
|
||||||
|
export ROCM_VERSION=6.4.1
|
||||||
|
~/bin/repo init -u http://github.com/ROCm/ROCm.git -b roc-6.4.x -m tools/rocm-build/rocm-${ROCM_VERSION}.xml
|
||||||
|
~/bin/repo sync
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** Using this sample code will cause the repo tool to download the open source code associated with the specified ROCm release. Ensure that you have ssh-keys configured on your machine for your GitHub ID prior to the download as explained at [Connecting to GitHub with SSH](https://docs.github.com/en/authentication/connecting-to-github-with-ssh).
|
||||||
|
|
||||||
|
## Building the ROCm source code
|
||||||
|
|
||||||
|
Each ROCm component repository contains directions for building that component, such as the rocSPARSE documentation [Installation and Building for Linux](https://rocm.docs.amd.com/projects/rocSPARSE/en/latest/install/Linux_Install_Guide.html). Refer to the specific component documentation for instructions on building the repository.
|
||||||
|
|
||||||
|
Each release of the ROCm software supports specific hardware and software configurations. Refer to [System requirements (Linux)](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html) for the current supported hardware and OS.
|
||||||
|
|
||||||
|
## Build ROCm from source
|
||||||
|
|
||||||
|
The Build will use as many processors as it can find to build in parallel. Some of the compiles can consume as much as 10GB of RAM, so make sure you have plenty of Swap Space !
|
||||||
|
|
||||||
|
By default the ROCm build will compile for all supported GPU architectures and will take approximately 500 CPU hours.
|
||||||
|
The Build time will reduce significantly if we limit the GPU Architecture/s against which we need to build by using the environment variable GPU_ARCHS as mentioned below.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# --------------------------------------
|
||||||
|
# Step1: clone source code
|
||||||
|
# --------------------------------------
|
||||||
|
|
||||||
|
mkdir -p ~/WORKSPACE/ # Or any folder name other than WORKSPACE
|
||||||
|
cd ~/WORKSPACE/
|
||||||
|
export ROCM_VERSION=6.4.1
|
||||||
|
~/bin/repo init -u http://github.com/ROCm/ROCm.git -b roc-6.4.x -m tools/rocm-build/rocm-${ROCM_VERSION}.xml
|
||||||
|
~/bin/repo sync
|
||||||
|
|
||||||
|
# --------------------------------------
|
||||||
|
# Step 2: Prepare build environment
|
||||||
|
# --------------------------------------
|
||||||
|
|
||||||
|
# Option 1: Start a docker container
|
||||||
|
# Pulling required base docker images:
|
||||||
|
# Ubuntu22.04 built from ROCm/tools/rocm-build/docker/ubuntu22/Dockerfile
|
||||||
|
docker pull rocm/rocm-build-ubuntu-22.04:6.4
|
||||||
|
# Ubuntu24.04 built from ROCm/tools/rocm-build/docker/ubuntu24/Dockerfile
|
||||||
|
docker pull rocm/rocm-build-ubuntu-24.04:6.4
|
||||||
|
|
||||||
|
# Start docker container and mount the source code folder:
|
||||||
|
docker run -ti \
|
||||||
|
-e ROCM_VERSION=${ROCM_VERSION} \
|
||||||
|
-e CCACHE_DIR=$HOME/.ccache \
|
||||||
|
-e CCACHE_ENABLED=true \
|
||||||
|
-e DOCK_WORK_FOLD=/src \
|
||||||
|
-w /src \
|
||||||
|
-v $PWD:/src \
|
||||||
|
-v /etc/passwd:/etc/passwd \
|
||||||
|
-v /etc/shadow:/etc/shadow \
|
||||||
|
-v ${HOME}/.ccache:${HOME}/.ccache \
|
||||||
|
-u $(id -u):$(id -g) \
|
||||||
|
<replace_with_required_ubuntu_base_docker_image> bash
|
||||||
|
|
||||||
|
# Option 2: Install required packages into the host machine
|
||||||
|
# For ubuntu22.04 system
|
||||||
|
cd ROCm/tools/rocm-build/docker/ubuntu22
|
||||||
|
cp * /tmp && cd /tmp
|
||||||
|
bash install-prerequisites.sh
|
||||||
|
# For ubuntu24.04 system
|
||||||
|
cd ROCm/tools/rocm-build/docker/ubuntu24
|
||||||
|
cp * /tmp && cd /tmp
|
||||||
|
bash install-prerequisites.sh
|
||||||
|
|
||||||
|
# --------------------------------------
|
||||||
|
# Step 3: Run build command line
|
||||||
|
# --------------------------------------
|
||||||
|
|
||||||
|
# Select GPU targets before building:
|
||||||
|
# When GPU_ARCHS is not set, default GPU targets supported by ROCm6.1 will be used.
|
||||||
|
# To build against a subset of GFX architectures you can use the below env variable.
|
||||||
|
# Support MI300 (gfx940, gfx941, gfx942).
|
||||||
|
export GPU_ARCHS="gfx942" # Example
|
||||||
|
export GPU_ARCHS="gfx940;gfx941;gfx942" # Example
|
||||||
|
|
||||||
|
# Pick and run build commands in the docker container:
|
||||||
|
# Build rocm-dev packages
|
||||||
|
make -f ROCm/tools/rocm-build/ROCm.mk -j ${NPROC:-$(nproc)} rocm-dev
|
||||||
|
# Build all ROCm packages
|
||||||
|
make -f ROCm/tools/rocm-build/ROCm.mk -j ${NPROC:-$(nproc)} all
|
||||||
|
# list all ROCm components to find required components
|
||||||
|
make -f ROCm/tools/rocm-build/ROCm.mk list_components
|
||||||
|
# Build a single ROCm packages
|
||||||
|
make -f ROCm/tools/rocm-build/ROCm.mk T_rocblas
|
||||||
|
|
||||||
|
# Find built packages in ubuntu22.04:
|
||||||
|
out/ubuntu-22.04/22.04/deb/
|
||||||
|
# Find built packages in ubuntu24.04:
|
||||||
|
out/ubuntu-24.04/24.04/deb/
|
||||||
|
|
||||||
|
# Find built logs in ubuntu22.04:
|
||||||
|
out/ubuntu-22.04/22.04/logs/
|
||||||
|
# Find built logs in ubuntu24.04:
|
||||||
|
out/ubuntu-24.04/24.04/logs/
|
||||||
|
# All logs pertaining to failed components, end with .errrors extension.
|
||||||
|
out/ubuntu-22.04/22.04/logs/rocblas.errors # Example
|
||||||
|
# All logs pertaining to building components, end with .inprogress extension.
|
||||||
|
out/ubuntu-22.04/22.04/logs/rocblas.inprogress # Example
|
||||||
|
# All logs pertaining to passed components, use the component names.
|
||||||
|
out/ubuntu-22.04/22.04/logs/rocblas # Example
|
||||||
|
```
|
||||||
|
|
||||||
|
Note: [Overview for ROCm.mk](tools/rocm-build/README.md)
|
||||||
|
|
||||||
## ROCm documentation
|
## ROCm documentation
|
||||||
|
|
||||||
|
|||||||
2313
RELEASE.md
2313
RELEASE.md
File diff suppressed because it is too large
Load Diff
29
default.xml
29
default.xml
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<manifest>
|
<manifest>
|
||||||
<remote name="rocm-org" fetch="https://github.com/ROCm/" />
|
<remote name="rocm-org" fetch="https://github.com/ROCm/" />
|
||||||
<default revision="refs/tags/rocm-7.0.2"
|
<default revision="refs/tags/rocm-6.4.1"
|
||||||
remote="rocm-org"
|
remote="rocm-org"
|
||||||
sync-c="true"
|
sync-c="true"
|
||||||
sync-j="4" />
|
sync-j="4" />
|
||||||
@@ -9,7 +9,6 @@
|
|||||||
<project name="ROCK-Kernel-Driver" />
|
<project name="ROCK-Kernel-Driver" />
|
||||||
<project name="ROCR-Runtime" />
|
<project name="ROCR-Runtime" />
|
||||||
<project name="amdsmi" />
|
<project name="amdsmi" />
|
||||||
<project name="aqlprofile" />
|
|
||||||
<project name="rdc" />
|
<project name="rdc" />
|
||||||
<project name="rocm_bandwidth_test" />
|
<project name="rocm_bandwidth_test" />
|
||||||
<project name="rocm_smi_lib" />
|
<project name="rocm_smi_lib" />
|
||||||
@@ -23,7 +22,7 @@
|
|||||||
<project name="rocprofiler-systems" />
|
<project name="rocprofiler-systems" />
|
||||||
<project name="roctracer" />
|
<project name="roctracer" />
|
||||||
<!--HIP Projects-->
|
<!--HIP Projects-->
|
||||||
<project name="hip" />
|
<project name="HIP" />
|
||||||
<project name="hip-tests" />
|
<project name="hip-tests" />
|
||||||
<project name="HIPIFY" />
|
<project name="HIPIFY" />
|
||||||
<project name="clr" />
|
<project name="clr" />
|
||||||
@@ -38,24 +37,36 @@
|
|||||||
<project name="rocr_debug_agent" />
|
<project name="rocr_debug_agent" />
|
||||||
<!-- ROCm Libraries -->
|
<!-- ROCm Libraries -->
|
||||||
<project groups="mathlibs" name="AMDMIGraphX" />
|
<project groups="mathlibs" name="AMDMIGraphX" />
|
||||||
|
<project groups="mathlibs" name="MIOpen" />
|
||||||
<project groups="mathlibs" name="MIVisionX" />
|
<project groups="mathlibs" name="MIVisionX" />
|
||||||
<project groups="mathlibs" name="ROCmValidationSuite" />
|
<project groups="mathlibs" name="ROCmValidationSuite" />
|
||||||
|
<project groups="mathlibs" name="Tensile" />
|
||||||
<project groups="mathlibs" name="composable_kernel" />
|
<project groups="mathlibs" name="composable_kernel" />
|
||||||
|
<project groups="mathlibs" name="hipBLAS-common" />
|
||||||
|
<project groups="mathlibs" name="hipBLAS" />
|
||||||
|
<project groups="mathlibs" name="hipBLASLt" />
|
||||||
|
<project groups="mathlibs" name="hipCUB" />
|
||||||
|
<project groups="mathlibs" name="hipFFT" />
|
||||||
|
<project groups="mathlibs" name="hipRAND" />
|
||||||
|
<project groups="mathlibs" name="hipSOLVER" />
|
||||||
|
<project groups="mathlibs" name="hipSPARSE" />
|
||||||
|
<project groups="mathlibs" name="hipSPARSELt" />
|
||||||
<project groups="mathlibs" name="hipTensor" />
|
<project groups="mathlibs" name="hipTensor" />
|
||||||
<project groups="mathlibs" name="hipfort" />
|
<project groups="mathlibs" name="hipfort" />
|
||||||
<project groups="mathlibs" name="rccl" />
|
<project groups="mathlibs" name="rccl" />
|
||||||
<project groups="mathlibs" name="rocAL" />
|
<project groups="mathlibs" name="rocAL" />
|
||||||
<project groups="mathlibs" name="rocALUTION" />
|
<project groups="mathlibs" name="rocALUTION" />
|
||||||
|
<project groups="mathlibs" name="rocBLAS" />
|
||||||
<project groups="mathlibs" name="rocDecode" />
|
<project groups="mathlibs" name="rocDecode" />
|
||||||
<project groups="mathlibs" name="rocJPEG" />
|
<project groups="mathlibs" name="rocJPEG" />
|
||||||
<!-- The following components have been migrated to rocm-libraries:
|
|
||||||
hipBLAS-common hipBLAS hipBLASLt hipCUB
|
|
||||||
hipFFT hipRAND hipSPARSE hipSPARSELt
|
|
||||||
MIOpen rocBLAS rocFFT rocPRIM rocRAND
|
|
||||||
rocSPARSE rocThrust Tensile -->
|
|
||||||
<project groups="mathlibs" name="rocm-libraries" />
|
|
||||||
<project groups="mathlibs" name="rocPyDecode" />
|
<project groups="mathlibs" name="rocPyDecode" />
|
||||||
|
<project groups="mathlibs" name="rocFFT" />
|
||||||
|
<project groups="mathlibs" name="rocPRIM" />
|
||||||
|
<project groups="mathlibs" name="rocRAND" />
|
||||||
<project groups="mathlibs" name="rocSHMEM" />
|
<project groups="mathlibs" name="rocSHMEM" />
|
||||||
|
<project groups="mathlibs" name="rocSOLVER" />
|
||||||
|
<project groups="mathlibs" name="rocSPARSE" />
|
||||||
|
<project groups="mathlibs" name="rocThrust" />
|
||||||
<project groups="mathlibs" name="rocWMMA" />
|
<project groups="mathlibs" name="rocWMMA" />
|
||||||
<project groups="mathlibs" name="rocm-cmake" />
|
<project groups="mathlibs" name="rocm-cmake" />
|
||||||
<project groups="mathlibs" name="rpp" />
|
<project groups="mathlibs" name="rpp" />
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ additional licenses. Please review individual repositories for more information.
|
|||||||
| [AMD SMI](https://github.com/ROCm/amdsmi) | [MIT](https://github.com/ROCm/amdsmi/blob/amd-staging/LICENSE) |
|
| [AMD SMI](https://github.com/ROCm/amdsmi) | [MIT](https://github.com/ROCm/amdsmi/blob/amd-staging/LICENSE) |
|
||||||
| [aomp](https://github.com/ROCm/aomp/) | [Apache 2.0](https://github.com/ROCm/aomp/blob/aomp-dev/LICENSE) |
|
| [aomp](https://github.com/ROCm/aomp/) | [Apache 2.0](https://github.com/ROCm/aomp/blob/aomp-dev/LICENSE) |
|
||||||
| [aomp-extras](https://github.com/ROCm/aomp-extras/) | [MIT](https://github.com/ROCm/aomp-extras/blob/aomp-dev/LICENSE) |
|
| [aomp-extras](https://github.com/ROCm/aomp-extras/) | [MIT](https://github.com/ROCm/aomp-extras/blob/aomp-dev/LICENSE) |
|
||||||
| [AQLprofile](https://github.com/rocm/aqlprofile/) | [MIT](https://github.com/ROCm/aqlprofile/blob/amd-staging/LICENSE.md) |
|
|
||||||
| [Code Object Manager (Comgr)](https://github.com/ROCm/llvm-project/tree/amd-staging/amd/comgr) | [The University of Illinois/NCSA](https://github.com/ROCm/llvm-project/blob/amd-staging/amd/comgr/LICENSE.txt) |
|
| [Code Object Manager (Comgr)](https://github.com/ROCm/llvm-project/tree/amd-staging/amd/comgr) | [The University of Illinois/NCSA](https://github.com/ROCm/llvm-project/blob/amd-staging/amd/comgr/LICENSE.txt) |
|
||||||
| [Composable Kernel](https://github.com/ROCm/composable_kernel) | [MIT](https://github.com/ROCm/composable_kernel/blob/develop/LICENSE) |
|
| [Composable Kernel](https://github.com/ROCm/composable_kernel) | [MIT](https://github.com/ROCm/composable_kernel/blob/develop/LICENSE) |
|
||||||
| [half](https://github.com/ROCm/half/) | [MIT](https://github.com/ROCm/half/blob/rocm/LICENSE.txt) |
|
| [half](https://github.com/ROCm/half/) | [MIT](https://github.com/ROCm/half/blob/rocm/LICENSE.txt) |
|
||||||
@@ -47,10 +46,11 @@ additional licenses. Please review individual repositories for more information.
|
|||||||
| [hipSPARSE](https://github.com/ROCm/hipSPARSE/) | [MIT](https://github.com/ROCm/hipSPARSE/blob/develop/LICENSE.md) |
|
| [hipSPARSE](https://github.com/ROCm/hipSPARSE/) | [MIT](https://github.com/ROCm/hipSPARSE/blob/develop/LICENSE.md) |
|
||||||
| [hipSPARSELt](https://github.com/ROCm/hipSPARSELt/) | [MIT](https://github.com/ROCm/hipSPARSELt/blob/develop/LICENSE.md) |
|
| [hipSPARSELt](https://github.com/ROCm/hipSPARSELt/) | [MIT](https://github.com/ROCm/hipSPARSELt/blob/develop/LICENSE.md) |
|
||||||
| [hipTensor](https://github.com/ROCm/hipTensor) | [MIT](https://github.com/ROCm/hipTensor/blob/develop/LICENSE) |
|
| [hipTensor](https://github.com/ROCm/hipTensor) | [MIT](https://github.com/ROCm/hipTensor/blob/develop/LICENSE) |
|
||||||
|
| hsa-amd-aqlprofile | [AMD Software EULA](https://www.amd.com/en/legal/eula/amd-software-eula.html) |
|
||||||
| [llvm-project](https://github.com/ROCm/llvm-project/) | [Apache](https://github.com/ROCm/llvm-project/blob/amd-staging/LICENSE.TXT) |
|
| [llvm-project](https://github.com/ROCm/llvm-project/) | [Apache](https://github.com/ROCm/llvm-project/blob/amd-staging/LICENSE.TXT) |
|
||||||
| [llvm-project/flang](https://github.com/ROCm/llvm-project/tree/amd-staging/flang) | [Apache 2.0](https://github.com/ROCm/llvm-project/blob/amd-staging/flang/LICENSE.TXT) |
|
| [llvm-project/flang](https://github.com/ROCm/llvm-project/tree/amd-staging/flang) | [Apache 2.0](https://github.com/ROCm/llvm-project/blob/amd-staging/flang/LICENSE.TXT) |
|
||||||
| [MIGraphX](https://github.com/ROCm/AMDMIGraphX/) | [MIT](https://github.com/ROCm/AMDMIGraphX/blob/develop/LICENSE) |
|
| [MIGraphX](https://github.com/ROCm/AMDMIGraphX/) | [MIT](https://github.com/ROCm/AMDMIGraphX/blob/develop/LICENSE) |
|
||||||
| [MIOpen](https://github.com/ROCm/MIOpen/) | [MIT](https://github.com/ROCm/rocm-libraries/blob/develop/projects/miopen/LICENSE.md) |
|
| [MIOpen](https://github.com/ROCm/MIOpen/) | [MIT](https://github.com/ROCm/MIOpen/blob/develop/LICENSE.txt) |
|
||||||
| [MIVisionX](https://github.com/ROCm/MIVisionX/) | [MIT](https://github.com/ROCm/MIVisionX/blob/develop/LICENSE.txt) |
|
| [MIVisionX](https://github.com/ROCm/MIVisionX/) | [MIT](https://github.com/ROCm/MIVisionX/blob/develop/LICENSE.txt) |
|
||||||
| [rocAL](https://github.com/ROCm/rocAL) | [MIT](https://github.com/ROCm/rocAL/blob/develop/LICENSE.txt) |
|
| [rocAL](https://github.com/ROCm/rocAL) | [MIT](https://github.com/ROCm/rocAL/blob/develop/LICENSE.txt) |
|
||||||
| [rocALUTION](https://github.com/ROCm/rocALUTION/) | [MIT](https://github.com/ROCm/rocALUTION/blob/develop/LICENSE.md) |
|
| [rocALUTION](https://github.com/ROCm/rocALUTION/) | [MIT](https://github.com/ROCm/rocALUTION/blob/develop/LICENSE.md) |
|
||||||
@@ -67,15 +67,15 @@ additional licenses. Please review individual repositories for more information.
|
|||||||
| [ROCm Communication Collectives Library (RCCL)](https://github.com/ROCm/rccl/) | [Custom](https://github.com/ROCm/rccl/blob/develop/LICENSE.txt) |
|
| [ROCm Communication Collectives Library (RCCL)](https://github.com/ROCm/rccl/) | [Custom](https://github.com/ROCm/rccl/blob/develop/LICENSE.txt) |
|
||||||
| [ROCm-Core](https://github.com/ROCm/rocm-core) | [MIT](https://github.com/ROCm/rocm-core/blob/master/copyright) |
|
| [ROCm-Core](https://github.com/ROCm/rocm-core) | [MIT](https://github.com/ROCm/rocm-core/blob/master/copyright) |
|
||||||
| [ROCm Compute Profiler](https://github.com/ROCm/rocprofiler-compute) | [MIT](https://github.com/ROCm/rocprofiler-compute/blob/amd-staging/LICENSE) |
|
| [ROCm Compute Profiler](https://github.com/ROCm/rocprofiler-compute) | [MIT](https://github.com/ROCm/rocprofiler-compute/blob/amd-staging/LICENSE) |
|
||||||
| [ROCm Data Center (RDC)](https://github.com/ROCm/rdc/) | [MIT](https://github.com/ROCm/rdc/blob/amd-staging/LICENSE.md) |
|
| [ROCm Data Center (RDC)](https://github.com/ROCm/rdc/) | [MIT](https://github.com/ROCm/rdc/blob/amd-staging/LICENSE) |
|
||||||
| [ROCm-Device-Libs](https://github.com/ROCm/llvm-project/tree/amd-staging/amd/device-libs) | [The University of Illinois/NCSA](https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/LICENSE.TXT) |
|
| [ROCm-Device-Libs](https://github.com/ROCm/llvm-project/tree/amd-staging/amd/device-libs) | [The University of Illinois/NCSA](https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/LICENSE.TXT) |
|
||||||
| [ROCm-OpenCL-Runtime](https://github.com/ROCm/clr/tree/amd-staging/opencl) | [MIT](https://github.com/ROCm/clr/blob/amd-staging/opencl/LICENSE.txt) |
|
| [ROCm-OpenCL-Runtime](https://github.com/ROCm/clr/tree/amd-staging/opencl) | [MIT](https://github.com/ROCm/clr/blob/amd-staging/opencl/LICENSE.txt) |
|
||||||
| [ROCm Performance Primitives (RPP)](https://github.com/ROCm/rpp) | [MIT](https://github.com/ROCm/rpp/blob/develop/LICENSE) |
|
| [ROCm Performance Primitives (RPP)](https://github.com/ROCm/rpp) | [MIT](https://github.com/ROCm/rpp/blob/develop/LICENSE) |
|
||||||
| [ROCm SMI Lib](https://github.com/ROCm/rocm_smi_lib/) | [MIT](https://github.com/ROCm/rocm_smi_lib/blob/amd-staging/LICENSE.md) |
|
| [ROCm SMI Lib](https://github.com/ROCm/rocm_smi_lib/) | [MIT](https://github.com/ROCm/rocm_smi_lib/blob/amd-staging/License.txt) |
|
||||||
| [ROCm Systems Profiler](https://github.com/ROCm/rocprofiler-systems) | [MIT](https://github.com/ROCm/rocprofiler-systems/blob/amd-staging/LICENSE.md) |
|
| [ROCm Systems Profiler](https://github.com/ROCm/rocprofiler-systems) | [MIT](https://github.com/ROCm/rocprofiler-systems/blob/amd-staging/LICENSE) |
|
||||||
| [ROCm Validation Suite](https://github.com/ROCm/ROCmValidationSuite/) | [MIT](https://github.com/ROCm/ROCmValidationSuite/blob/master/LICENSE) |
|
| [ROCm Validation Suite](https://github.com/ROCm/ROCmValidationSuite/) | [MIT](https://github.com/ROCm/ROCmValidationSuite/blob/master/LICENSE) |
|
||||||
| [rocPRIM](https://github.com/ROCm/rocPRIM/) | [MIT](https://github.com/ROCm/rocPRIM/blob/develop/LICENSE.txt) |
|
| [rocPRIM](https://github.com/ROCm/rocPRIM/) | [MIT](https://github.com/ROCm/rocPRIM/blob/develop/LICENSE.txt) |
|
||||||
| [ROCProfiler](https://github.com/ROCm/rocprofiler/) | [MIT](https://github.com/ROCm/rocprofiler/blob/amd-staging/LICENSE.md) |
|
| [ROCProfiler](https://github.com/ROCm/rocprofiler/) | [MIT](https://github.com/ROCm/rocprofiler/blob/amd-staging/LICENSE) |
|
||||||
| [ROCprofiler-SDK](https://github.com/ROCm/rocprofiler-sdk) | [MIT](https://github.com/ROCm/rocprofiler-sdk/blob/amd-mainline/LICENSE) |
|
| [ROCprofiler-SDK](https://github.com/ROCm/rocprofiler-sdk) | [MIT](https://github.com/ROCm/rocprofiler-sdk/blob/amd-mainline/LICENSE) |
|
||||||
| [rocPyDecode](https://github.com/ROCm/rocPyDecode) | [MIT](https://github.com/ROCm/rocPyDecode/blob/develop/LICENSE.txt) |
|
| [rocPyDecode](https://github.com/ROCm/rocPyDecode) | [MIT](https://github.com/ROCm/rocPyDecode/blob/develop/LICENSE.txt) |
|
||||||
| [rocRAND](https://github.com/ROCm/rocRAND/) | [MIT](https://github.com/ROCm/rocRAND/blob/develop/LICENSE.txt) |
|
| [rocRAND](https://github.com/ROCm/rocRAND/) | [MIT](https://github.com/ROCm/rocRAND/blob/develop/LICENSE.txt) |
|
||||||
@@ -132,10 +132,12 @@ companies.
|
|||||||
### Package licensing
|
### Package licensing
|
||||||
|
|
||||||
:::{attention}
|
:::{attention}
|
||||||
ROCprof Trace Decoder and AOCC CPU optimizations are provided in binary form, subject to the license agreement enclosed on [GitHub](https://github.com/ROCm/rocprof-trace-decoder/blob/amd-mainline/LICENSE) for ROCprof Trace Decoder, and [Developer Central](https://www.amd.com/en/developer/aocc.html) for AOCC. By using, installing,
|
AQL Profiler and AOCC CPU optimization are both provided in binary form, each
|
||||||
copying or distributing ROCprof Trace Decoder or AOCC CPU Optimizations, you agree to
|
subject to the license agreement enclosed in the directory for the binary available
|
||||||
|
in `/opt/rocm/share/doc/hsa-amd-aqlprofile/EULA`. By using, installing,
|
||||||
|
copying or distributing AQL Profiler and/or AOCC CPU Optimizations, you agree to
|
||||||
the terms and conditions of this license agreement. If you do not agree to the
|
the terms and conditions of this license agreement. If you do not agree to the
|
||||||
terms of this agreement, do not install, copy or use ROCprof Trace Decoder or the
|
terms of this agreement, do not install, copy or use the AQL Profiler and/or the
|
||||||
AOCC CPU Optimizations.
|
AOCC CPU Optimizations.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|||||||
126
docs/compatibility/compatibility-matrix-historical-6.0.csv
Normal file
126
docs/compatibility/compatibility-matrix-historical-6.0.csv
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
ROCm Version,6.4.1,6.4.0,6.3.3,6.3.2,6.3.1,6.3.0,6.2.4,6.2.2,6.2.1,6.2.0, 6.1.5, 6.1.2, 6.1.1, 6.1.0, 6.0.2, 6.0.0
|
||||||
|
:ref:`Operating systems & kernels <OS-kernel-versions>`,Ubuntu 24.04.2,Ubuntu 24.04.2,Ubuntu 24.04.2,Ubuntu 24.04.2,Ubuntu 24.04.2,Ubuntu 24.04.2,"Ubuntu 24.04.1, 24.04","Ubuntu 24.04.1, 24.04","Ubuntu 24.04.1, 24.04",Ubuntu 24.04,,,,,,
|
||||||
|
,Ubuntu 22.04.5,Ubuntu 22.04.5,Ubuntu 22.04.5,Ubuntu 22.04.5,Ubuntu 22.04.5,Ubuntu 22.04.5,"Ubuntu 22.04.5, 22.04.4","Ubuntu 22.04.5, 22.04.4","Ubuntu 22.04.5, 22.04.4","Ubuntu 22.04.5, 22.04.4","Ubuntu 22.04.5, 22.04.4, 22.04.3","Ubuntu 22.04.4, 22.04.3","Ubuntu 22.04.4, 22.04.3","Ubuntu 22.04.4, 22.04.3","Ubuntu 22.04.4, 22.04.3, 22.04.2","Ubuntu 22.04.4, 22.04.3, 22.04.2"
|
||||||
|
,,,,,,,,,,,"Ubuntu 20.04.6, 20.04.5","Ubuntu 20.04.6, 20.04.5","Ubuntu 20.04.6, 20.04.5","Ubuntu 20.04.6, 20.04.5","Ubuntu 20.04.6, 20.04.5","Ubuntu 20.04.6, 20.04.5"
|
||||||
|
,"RHEL 9.6, 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.4, 9.3","RHEL 9.4, 9.3","RHEL 9.4, 9.3","RHEL 9.4, 9.3","RHEL 9.4, 9.3, 9.2","RHEL 9.4, 9.3, 9.2","RHEL 9.4, 9.3, 9.2","RHEL 9.4, 9.3, 9.2","RHEL 9.3, 9.2","RHEL 9.3, 9.2"
|
||||||
|
,RHEL 8.10,RHEL 8.10,RHEL 8.10,RHEL 8.10,RHEL 8.10,RHEL 8.10,"RHEL 8.10, 8.9","RHEL 8.10, 8.9","RHEL 8.10, 8.9","RHEL 8.10, 8.9","RHEL 8.9, 8.8","RHEL 8.9, 8.8","RHEL 8.9, 8.8","RHEL 8.9, 8.8","RHEL 8.9, 8.8","RHEL 8.9, 8.8"
|
||||||
|
,SLES 15 SP6,SLES 15 SP6,"SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP6, SP5","SLES 15 SP5, SP4","SLES 15 SP5, SP4","SLES 15 SP5, SP4","SLES 15 SP5, SP4","SLES 15 SP5, SP4","SLES 15 SP5, SP4"
|
||||||
|
,,,,,,,,,,,,CentOS 7.9,CentOS 7.9,CentOS 7.9,CentOS 7.9,CentOS 7.9
|
||||||
|
,"Oracle Linux 9, 8 [#mi300x-past-60]_","Oracle Linux 9, 8 [#mi300x-past-60]_",Oracle Linux 8.10 [#mi300x-past-60]_,Oracle Linux 8.10 [#mi300x-past-60]_,Oracle Linux 8.10 [#mi300x-past-60]_,Oracle Linux 8.10 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,Oracle Linux 8.9 [#mi300x-past-60]_,,,
|
||||||
|
,Debian 12 [#single-node-past-60]_,Debian 12 [#single-node-past-60]_,Debian 12 [#single-node-past-60]_,Debian 12 [#single-node-past-60]_,Debian 12 [#single-node-past-60]_,,,,,,,,,,,
|
||||||
|
,Azure Linux 3.0 [#mi300x-past-60]_,Azure Linux 3.0 [#mi300x-past-60]_,Azure Linux 3.0 [#mi300x-past-60]_,Azure Linux 3.0 [#mi300x-past-60]_,,,,,,,,,,,,
|
||||||
|
,.. _architecture-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`Architecture <rocm-install-on-linux:reference/system-requirements>`,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3,CDNA3
|
||||||
|
,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2,CDNA2
|
||||||
|
,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA,CDNA
|
||||||
|
,RDNA4,,,,,,,,,,,,,,,
|
||||||
|
,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3,RDNA3
|
||||||
|
,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2,RDNA2
|
||||||
|
,.. _gpu-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`GPU / LLVM target <rocm-install-on-linux:reference/system-requirements>`,gfx1201 [#RDNA-OS-past-60]_,,,,,,,,,,,,,,,
|
||||||
|
,gfx1200 [#RDNA-OS-past-60]_,,,,,,,,,,,,,,,
|
||||||
|
,gfx1101 [#RDNA-OS-past-60]_,,,,,,,,,,,,,,,
|
||||||
|
,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100,gfx1100
|
||||||
|
,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030,gfx1030
|
||||||
|
,gfx942,gfx942,gfx942,gfx942,gfx942,gfx942,gfx942 [#mi300_624-past-60]_,gfx942 [#mi300_622-past-60]_,gfx942 [#mi300_621-past-60]_,gfx942 [#mi300_620-past-60]_, gfx942 [#mi300_612-past-60]_, gfx942 [#mi300_612-past-60]_, gfx942 [#mi300_611-past-60]_, gfx942 [#mi300_610-past-60]_, gfx942 [#mi300_602-past-60]_, gfx942 [#mi300_600-past-60]_
|
||||||
|
,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a,gfx90a
|
||||||
|
,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908,gfx908
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
FRAMEWORK SUPPORT,.. _framework-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`PyTorch <../compatibility/ml-compatibility/pytorch-compatibility>`,"2.6, 2.5, 2.4, 2.3","2.6, 2.5, 2.4, 2.3","2.4, 2.3, 2.2, 1.13","2.4, 2.3, 2.2, 1.13","2.4, 2.3, 2.2, 1.13","2.4, 2.3, 2.2, 2.1, 2.0, 1.13","2.3, 2.2, 2.1, 2.0, 1.13","2.3, 2.2, 2.1, 2.0, 1.13","2.3, 2.2, 2.1, 2.0, 1.13","2.3, 2.2, 2.1, 2.0, 1.13","2.1, 2.0, 1.13","2.1, 2.0, 1.13","2.1, 2.0, 1.13","2.1, 2.0, 1.13","2.1, 2.0, 1.13","2.1, 2.0, 1.13"
|
||||||
|
:doc:`TensorFlow <../compatibility/ml-compatibility/tensorflow-compatibility>`,"2.18.1, 2.17.1, 2.16.2","2.18.1, 2.17.1, 2.16.2","2.17.0, 2.16.2, 2.15.1","2.17.0, 2.16.2, 2.15.1","2.17.0, 2.16.2, 2.15.1","2.17.0, 2.16.2, 2.15.1","2.16.1, 2.15.1, 2.14.1","2.16.1, 2.15.1, 2.14.1","2.16.1, 2.15.1, 2.14.1","2.16.1, 2.15.1, 2.14.1","2.15.0, 2.14.0, 2.13.1","2.15.0, 2.14.0, 2.13.1","2.15.0, 2.14.0, 2.13.1","2.15.0, 2.14.0, 2.13.1","2.14.0, 2.13.1, 2.12.1","2.14.0, 2.13.1, 2.12.1"
|
||||||
|
:doc:`JAX <../compatibility/ml-compatibility/jax-compatibility>`,0.4.35,0.4.35,0.4.31,0.4.31,0.4.31,0.4.31,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26,0.4.26
|
||||||
|
`ONNX Runtime <https://onnxruntime.ai/docs/build/eps.html#amd-migraphx>`_,1.2,1.2,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.17.3,1.14.1,1.14.1
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
THIRD PARTY COMMS,.. _thirdpartycomms-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
`UCC <https://github.com/ROCm/ucc>`_,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.3.0,>=1.2.0,>=1.2.0
|
||||||
|
`UCX <https://github.com/ROCm/ucx>`_,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.15.0,>=1.14.1,>=1.14.1,>=1.14.1,>=1.14.1,>=1.14.1,>=1.14.1
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
THIRD PARTY ALGORITHM,.. _thirdpartyalgorithm-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
Thrust,2.5.0,2.5.0,2.3.2,2.3.2,2.3.2,2.3.2,2.2.0,2.2.0,2.2.0,2.2.0,2.1.0,2.1.0,2.1.0,2.1.0,2.0.1,2.0.1
|
||||||
|
CUB,2.5.0,2.5.0,2.3.2,2.3.2,2.3.2,2.3.2,2.2.0,2.2.0,2.2.0,2.2.0,2.1.0,2.1.0,2.1.0,2.1.0,2.0.1,2.0.1
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
KMD & USER SPACE [#kfd_support-past-60]_,.. _kfd-userspace-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`KMD versions <rocm-install-on-linux:reference/user-kernel-space-compat-matrix>`,"6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.7.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.7.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.7.x","6.4.x, 6.3.x, 6.2.x, 6.1.x, 6.0.x, 5.7.x","6.2.x, 6.1.x, 6.0.x, 5.7.x, 5.6.x","6.2.x, 6.1.x, 6.0.x, 5.7.x, 5.6.x"
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
ML & COMPUTER VISION,.. _mllibs-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`Composable Kernel <composable_kernel:index>`,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0
|
||||||
|
:doc:`MIGraphX <amdmigraphx:index>`,2.12.0,2.12.0,2.11.0,2.11.0,2.11.0,2.11.0,2.10.0,2.10.0,2.10.0,2.10.0,2.9.0,2.9.0,2.9.0,2.9.0,2.8.0,2.8.0
|
||||||
|
:doc:`MIOpen <miopen:index>`,3.4.0,3.4.0,3.3.0,3.3.0,3.3.0,3.3.0,3.2.0,3.2.0,3.2.0,3.2.0,3.1.0,3.1.0,3.1.0,3.1.0,3.0.0,3.0.0
|
||||||
|
:doc:`MIVisionX <mivisionx:index>`,3.2.0,3.2.0,3.1.0,3.1.0,3.1.0,3.1.0,3.0.0,3.0.0,3.0.0,3.0.0,2.5.0,2.5.0,2.5.0,2.5.0,2.5.0,2.5.0
|
||||||
|
:doc:`rocAL <rocal:index>`,2.2.0,2.2.0,2.1.0,2.1.0,2.1.0,2.1.0,2.0.0,2.0.0,2.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0
|
||||||
|
:doc:`rocDecode <rocdecode:index>`,0.10.0,0.10.0,0.8.0,0.8.0,0.8.0,0.8.0,0.6.0,0.6.0,0.6.0,0.6.0,0.6.0,0.6.0,0.5.0,0.5.0,N/A,N/A
|
||||||
|
:doc:`rocJPEG <rocjpeg:index>`,0.8.0,0.8.0,0.6.0,0.6.0,0.6.0,0.6.0,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
:doc:`rocPyDecode <rocpydecode:index>`,0.3.1,0.3.1,0.2.0,0.2.0,0.2.0,0.2.0,0.1.0,0.1.0,0.1.0,0.1.0,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
:doc:`RPP <rpp:index>`,1.9.10,1.9.10,1.9.1,1.9.1,1.9.1,1.9.1,1.8.0,1.8.0,1.8.0,1.8.0,1.5.0,1.5.0,1.5.0,1.5.0,1.4.0,1.4.0
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
COMMUNICATION,.. _commlibs-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`RCCL <rccl:index>`,2.22.3,2.22.3,2.21.5,2.21.5,2.21.5,2.21.5,2.20.5,2.20.5,2.20.5,2.20.5,2.18.6,2.18.6,2.18.6,2.18.6,2.18.3,2.18.3
|
||||||
|
:doc:`rocSHMEM <rocshmem:index>`,2.0.0,2.0.0,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
MATH LIBS,.. _mathlibs-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
`half <https://github.com/ROCm/half>`_ ,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0,1.12.0
|
||||||
|
:doc:`hipBLAS <hipblas:index>`,2.4.0,2.4.0,2.3.0,2.3.0,2.3.0,2.3.0,2.2.0,2.2.0,2.2.0,2.2.0,2.1.0,2.1.0,2.1.0,2.1.0,2.0.0,2.0.0
|
||||||
|
:doc:`hipBLASLt <hipblaslt:index>`,0.12.1,0.12.0,0.10.0,0.10.0,0.10.0,0.10.0,0.8.0,0.8.0,0.8.0,0.8.0,0.7.0,0.7.0,0.7.0,0.7.0,0.6.0,0.6.0
|
||||||
|
:doc:`hipFFT <hipfft:index>`,1.0.18,1.0.18,1.0.17,1.0.17,1.0.17,1.0.17,1.0.16,1.0.15,1.0.15,1.0.14,1.0.14,1.0.14,1.0.14,1.0.14,1.0.13,1.0.13
|
||||||
|
:doc:`hipfort <hipfort:index>`,0.6.0,0.6.0,0.5.1,0.5.1,0.5.0,0.5.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0
|
||||||
|
:doc:`hipRAND <hiprand:index>`,2.12.0,2.12.0,2.11.1,2.11.1,2.11.1,2.11.0,2.11.1,2.11.0,2.11.0,2.11.0,2.10.16,2.10.16,2.10.16,2.10.16,2.10.16,2.10.16
|
||||||
|
:doc:`hipSOLVER <hipsolver:index>`,2.4.0,2.4.0,2.3.0,2.3.0,2.3.0,2.3.0,2.2.0,2.2.0,2.2.0,2.2.0,2.1.1,2.1.1,2.1.1,2.1.0,2.0.0,2.0.0
|
||||||
|
:doc:`hipSPARSE <hipsparse:index>`,3.2.0,3.2.0,3.1.2,3.1.2,3.1.2,3.1.2,3.1.1,3.1.1,3.1.1,3.1.1,3.0.1,3.0.1,3.0.1,3.0.1,3.0.0,3.0.0
|
||||||
|
:doc:`hipSPARSELt <hipsparselt:index>`,0.2.3,0.2.3,0.2.2,0.2.2,0.2.2,0.2.2,0.2.1,0.2.1,0.2.1,0.2.1,0.2.0,0.2.0,0.1.0,0.1.0,0.1.0,0.1.0
|
||||||
|
:doc:`rocALUTION <rocalution:index>`,3.2.3,3.2.2,3.2.1,3.2.1,3.2.1,3.2.1,3.2.1,3.2.0,3.2.0,3.2.0,3.1.1,3.1.1,3.1.1,3.1.1,3.0.3,3.0.3
|
||||||
|
:doc:`rocBLAS <rocblas:index>`,4.4.0,4.4.0,4.3.0,4.3.0,4.3.0,4.3.0,4.2.4,4.2.1,4.2.1,4.2.0,4.1.2,4.1.2,4.1.0,4.1.0,4.0.0,4.0.0
|
||||||
|
:doc:`rocFFT <rocfft:index>`,1.0.32,1.0.32,1.0.31,1.0.31,1.0.31,1.0.31,1.0.30,1.0.29,1.0.29,1.0.28,1.0.27,1.0.27,1.0.27,1.0.26,1.0.25,1.0.23
|
||||||
|
:doc:`rocRAND <rocrand:index>`,3.3.0,3.3.0,3.2.0,3.2.0,3.2.0,3.2.0,3.1.1,3.1.0,3.1.0,3.1.0,3.0.1,3.0.1,3.0.1,3.0.1,3.0.0,2.10.17
|
||||||
|
:doc:`rocSOLVER <rocsolver:index>`,3.28.0,3.28.0,3.27.0,3.27.0,3.27.0,3.27.0,3.26.2,3.26.0,3.26.0,3.26.0,3.25.0,3.25.0,3.25.0,3.25.0,3.24.0,3.24.0
|
||||||
|
:doc:`rocSPARSE <rocsparse:index>`,3.4.0,3.4.0,3.3.0,3.3.0,3.3.0,3.3.0,3.2.1,3.2.0,3.2.0,3.2.0,3.1.2,3.1.2,3.1.2,3.1.2,3.0.2,3.0.2
|
||||||
|
:doc:`rocWMMA <rocwmma:index>`,1.7.0,1.7.0,1.6.0,1.6.0,1.6.0,1.6.0,1.5.0,1.5.0,1.5.0,1.5.0,1.4.0,1.4.0,1.4.0,1.4.0,1.3.0,1.3.0
|
||||||
|
:doc:`Tensile <tensile:src/index>`,4.43.0,4.43.0,4.42.0,4.42.0,4.42.0,4.42.0,4.41.0,4.41.0,4.41.0,4.41.0,4.40.0,4.40.0,4.40.0,4.40.0,4.39.0,4.39.0
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
PRIMITIVES,.. _primitivelibs-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`hipCUB <hipcub:index>`,3.4.0,3.4.0,3.3.0,3.3.0,3.3.0,3.3.0,3.2.1,3.2.0,3.2.0,3.2.0,3.1.0,3.1.0,3.1.0,3.1.0,3.0.0,3.0.0
|
||||||
|
:doc:`hipTensor <hiptensor:index>`,1.5.0,1.5.0,1.4.0,1.4.0,1.4.0,1.4.0,1.3.0,1.3.0,1.3.0,1.3.0,1.2.0,1.2.0,1.2.0,1.2.0,1.1.0,1.1.0
|
||||||
|
:doc:`rocPRIM <rocprim:index>`,3.4.0,3.4.0,3.3.0,3.3.0,3.3.0,3.3.0,3.2.2,3.2.0,3.2.0,3.2.0,3.1.0,3.1.0,3.1.0,3.1.0,3.0.0,3.0.0
|
||||||
|
:doc:`rocThrust <rocthrust:index>`,3.3.0,3.3.0,3.3.0,3.3.0,3.3.0,3.3.0,3.1.1,3.1.0,3.1.0,3.0.1,3.0.1,3.0.1,3.0.1,3.0.1,3.0.0,3.0.0
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
SUPPORT LIBS,,,,,,,,,,,,,,,,
|
||||||
|
`hipother <https://github.com/ROCm/hipother>`_,6.4.43483,6.4.43482,6.3.42134,6.3.42134,6.3.42133,6.3.42131,6.2.41134,6.2.41134,6.2.41134,6.2.41133,6.1.40093,6.1.40093,6.1.40092,6.1.40091,6.1.32831,6.1.32830
|
||||||
|
`rocm-core <https://github.com/ROCm/rocm-core>`_,6.4.1,6.4.0,6.3.3,6.3.2,6.3.1,6.3.0,6.2.4,6.2.2,6.2.1,6.2.0,6.1.5,6.1.2,6.1.1,6.1.0,6.0.2,6.0.0
|
||||||
|
`ROCT-Thunk-Interface <https://github.com/ROCm/ROCT-Thunk-Interface>`_,N/A [#ROCT-rocr-past-60]_,N/A [#ROCT-rocr-past-60]_,N/A [#ROCT-rocr-past-60]_,N/A [#ROCT-rocr-past-60]_,N/A [#ROCT-rocr-past-60]_,N/A [#ROCT-rocr-past-60]_,20240607.5.7,20240607.5.7,20240607.4.05,20240607.1.4246,20240125.5.08,20240125.5.08,20240125.5.08,20240125.3.30,20231016.2.245,20231016.2.245
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
SYSTEM MGMT TOOLS,.. _tools-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`AMD SMI <amdsmi:index>`,25.4.2,25.3.0,24.7.1,24.7.1,24.7.1,24.7.1,24.6.3,24.6.3,24.6.3,24.6.2,24.5.1,24.5.1,24.5.1,24.4.1,23.4.2,23.4.2
|
||||||
|
:doc:`ROCm Data Center Tool <rdc:index>`,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0,0.3.0
|
||||||
|
:doc:`rocminfo <rocminfo:index>`,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0
|
||||||
|
:doc:`ROCm SMI <rocm_smi_lib:index>`,7.5.0,7.5.0,7.4.0,7.4.0,7.4.0,7.4.0,7.3.0,7.3.0,7.3.0,7.3.0,7.2.0,7.2.0,7.0.0,7.0.0,6.0.2,6.0.0
|
||||||
|
:doc:`ROCm Validation Suite <rocmvalidationsuite:index>`,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.1.0,1.0.60204,1.0.60202,1.0.60201,1.0.60200,1.0.60105,1.0.60102,1.0.60101,1.0.60100,1.0.60002,1.0.60000
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
PERFORMANCE TOOLS,,,,,,,,,,,,,,,,
|
||||||
|
:doc:`ROCm Bandwidth Test <rocm_bandwidth_test:index>`,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0,1.4.0
|
||||||
|
:doc:`ROCm Compute Profiler <rocprofiler-compute:index>`,3.1.0,3.1.0,3.0.0,3.0.0,3.0.0,3.0.0,2.0.1,2.0.1,2.0.1,2.0.1,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
:doc:`ROCm Systems Profiler <rocprofiler-systems:index>`,1.0.1,1.0.0,0.1.2,0.1.1,0.1.0,0.1.0,1.11.2,1.11.2,1.11.2,1.11.2,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
:doc:`ROCProfiler <rocprofiler:index>`,2.0.60401,2.0.60400,2.0.60303,2.0.60302,2.0.60301,2.0.60300,2.0.60204,2.0.60202,2.0.60201,2.0.60200,2.0.60105,2.0.60102,2.0.60101,2.0.60100,2.0.60002,2.0.60000
|
||||||
|
:doc:`ROCprofiler-SDK <rocprofiler-sdk:index>`,0.6.0,0.6.0,0.5.0,0.5.0,0.5.0,0.5.0,0.4.0,0.4.0,0.4.0,0.4.0,N/A,N/A,N/A,N/A,N/A,N/A
|
||||||
|
:doc:`ROCTracer <roctracer:index>`,4.1.60401,4.1.60400,4.1.60303,4.1.60302,4.1.60301,4.1.60300,4.1.60204,4.1.60202,4.1.60201,4.1.60200,4.1.60105,4.1.60102,4.1.60101,4.1.60100,4.1.60002,4.1.60000
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
DEVELOPMENT TOOLS,,,,,,,,,,,,,,,,
|
||||||
|
:doc:`HIPIFY <hipify:index>`,19.0.0,19.0.0,18.0.0.25012,18.0.0.25012,18.0.0.24491,18.0.0.24455,18.0.0.24392,18.0.0.24355,18.0.0.24355,18.0.0.24232,17.0.0.24193,17.0.0.24193,17.0.0.24154,17.0.0.24103,17.0.0.24012,17.0.0.23483
|
||||||
|
:doc:`ROCm CMake <rocmcmakebuildtools:index>`,0.14.0,0.14.0,0.14.0,0.14.0,0.14.0,0.14.0,0.13.0,0.13.0,0.13.0,0.13.0,0.12.0,0.12.0,0.12.0,0.12.0,0.11.0,0.11.0
|
||||||
|
:doc:`ROCdbgapi <rocdbgapi:index>`,0.77.2,0.77.2,0.77.0,0.77.0,0.77.0,0.77.0,0.76.0,0.76.0,0.76.0,0.76.0,0.71.0,0.71.0,0.71.0,0.71.0,0.71.0,0.71.0
|
||||||
|
:doc:`ROCm Debugger (ROCgdb) <rocgdb:index>`,15.2.0,15.2.0,15.2.0,15.2.0,15.2.0,15.2.0,14.2.0,14.2.0,14.2.0,14.2.0,14.1.0,14.1.0,14.1.0,14.1.0,13.2.0,13.2.0
|
||||||
|
`rocprofiler-register <https://github.com/ROCm/rocprofiler-register>`_,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.4.0,0.3.0,0.3.0,0.3.0,0.3.0,N/A,N/A
|
||||||
|
:doc:`ROCr Debug Agent <rocr_debug_agent:index>`,2.0.4,2.0.4,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3,2.0.3
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
COMPILERS,.. _compilers-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
`clang-ocl <https://github.com/ROCm/clang-ocl>`_,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,0.5.0,0.5.0,0.5.0,0.5.0,0.5.0,0.5.0
|
||||||
|
:doc:`hipCC <hipcc:index>`,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.1.1,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0,1.0.0
|
||||||
|
`Flang <https://github.com/ROCm/flang>`_,19.0.0.25184,19.0.0.25133,18.0.0.25012,18.0.0.25012,18.0.0.24491,18.0.0.24455,18.0.0.24392,18.0.0.24355,18.0.0.24355,18.0.0.24232,17.0.0.24193,17.0.0.24193,17.0.0.24154,17.0.0.24103,17.0.0.24012,17.0.0.23483
|
||||||
|
:doc:`llvm-project <llvm-project:index>`,19.0.0.25184,19.0.0.25133,18.0.0.25012,18.0.0.25012,18.0.0.24491,18.0.0.24491,18.0.0.24392,18.0.0.24355,18.0.0.24355,18.0.0.24232,17.0.0.24193,17.0.0.24193,17.0.0.24154,17.0.0.24103,17.0.0.24012,17.0.0.23483
|
||||||
|
`OpenMP <https://github.com/ROCm/llvm-project/tree/amd-staging/openmp>`_,19.0.0.25184,19.0.0.25133,18.0.0.25012,18.0.0.25012,18.0.0.24491,18.0.0.24491,18.0.0.24392,18.0.0.24355,18.0.0.24355,18.0.0.24232,17.0.0.24193,17.0.0.24193,17.0.0.24154,17.0.0.24103,17.0.0.24012,17.0.0.23483
|
||||||
|
,,,,,,,,,,,,,,,,
|
||||||
|
RUNTIMES,.. _runtime-support-compatibility-matrix-past-60:,,,,,,,,,,,,,,,
|
||||||
|
:doc:`AMD CLR <hip:understand/amd_clr>`,6.4.43483,6.4.43482,6.3.42134,6.3.42134,6.3.42133,6.3.42131,6.2.41134,6.2.41134,6.2.41134,6.2.41133,6.1.40093,6.1.40093,6.1.40092,6.1.40091,6.1.32831,6.1.32830
|
||||||
|
:doc:`HIP <hip:index>`,6.4.43483,6.4.43482,6.3.42134,6.3.42134,6.3.42133,6.3.42131,6.2.41134,6.2.41134,6.2.41134,6.2.41133,6.1.40093,6.1.40093,6.1.40092,6.1.40091,6.1.32831,6.1.32830
|
||||||
|
`OpenCL Runtime <https://github.com/ROCm/clr/tree/develop/opencl>`_,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0,2.0.0
|
||||||
|
:doc:`ROCr Runtime <rocr-runtime:index>`,1.15.0,1.15.0,1.14.0,1.14.0,1.14.0,1.14.0,1.14.0,1.14.0,1.14.0,1.13.0,1.13.0,1.13.0,1.13.0,1.13.0,1.12.0,1.12.0
|
||||||
|
@@ -1,115 +1,240 @@
|
|||||||
****************************************
|
.. meta::
|
||||||
ROCm |ROCM_VERSION| compatibility matrix
|
:description: ROCm compatibility matrix
|
||||||
****************************************
|
:keywords: GPU, architecture, hardware, compatibility, system, requirements, components, libraries
|
||||||
|
|
||||||
To plan your ROCm |ROCM_VERSION| installation, use the following selector to
|
**************************************************************************************
|
||||||
view ROCm compatibility and system requirements information for your AMD
|
Compatibility matrix
|
||||||
hardware configuration. For installation instructions, see
|
**************************************************************************************
|
||||||
:doc:`/install/rocm`.
|
|
||||||
|
|
||||||
.. include:: ./includes/selector.rst
|
Use this matrix to view the ROCm compatibility and system requirements across successive major and minor releases.
|
||||||
|
|
||||||
----
|
You can also refer to the :ref:`past versions of ROCm compatibility matrix<past-rocm-compatibility-matrix>`.
|
||||||
|
|
||||||
Hardware, software, and firmware requirements
|
Accelerators and GPUs listed in the following table support compute workloads (no display
|
||||||
=============================================
|
information or graphics). If you’re using ROCm with AMD Radeon or Radeon Pro GPUs for graphics
|
||||||
|
workloads, see the `Use ROCm on Radeon GPU documentation
|
||||||
|
<https://rocm.docs.amd.com/projects/radeon/en/latest/docs/compatibility.html>`_ to verify
|
||||||
|
compatibility and system requirements.
|
||||||
|
|
||||||
ROCm depends on a coordinated stack of compatible firmware, driver, and user
|
.. |br| raw:: html
|
||||||
space components. Maintaining version alignment between these layers ensures
|
|
||||||
expected GPU operation and performance, especially for AMD data center products.
|
|
||||||
Future preview releases will expand hardware and operating system coverage.
|
|
||||||
|
|
||||||
ROCm 7.11.0 enables support for primarily compute workloads. Future releases
|
<br/>
|
||||||
will support mixed workloads (compute and graphics).
|
|
||||||
|
|
||||||
.. selected:: os=ubuntu os=rhel os=sles
|
.. container:: format-big-table
|
||||||
|
|
||||||
.. selected:: fam=radeon-pro fam=radeon
|
.. csv-table::
|
||||||
|
:header: "ROCm Version", "6.4.1", "6.4.0", "6.3.0"
|
||||||
|
:stub-columns: 1
|
||||||
|
|
||||||
If you’re interested in testing AMD Radeon GPUs with preview support for
|
:ref:`Operating systems & kernels <OS-kernel-versions>`,Ubuntu 24.04.2,Ubuntu 24.04.2,Ubuntu 24.04.2
|
||||||
graphics use cases with AMD ROCm 7.11.0, install Radeon Software for Linux
|
,Ubuntu 22.04.5,Ubuntu 22.04.5,Ubuntu 22.04.5
|
||||||
version 25.35 from `Linux Drivers for AMD Radeon and Radeon PRO
|
,"RHEL 9.6, 9.5, 9.4","RHEL 9.5, 9.4","RHEL 9.5, 9.4"
|
||||||
Graphics <https://www.amd.com/en/support/download/linux-drivers.html>`__.
|
,RHEL 8.10,RHEL 8.10,RHEL 8.10
|
||||||
|
,SLES 15 SP6,SLES 15 SP6,"SLES 15 SP6, SP5"
|
||||||
|
,"Oracle Linux 9, 8 [#mi300x]_","Oracle Linux 9, 8 [#mi300x]_",Oracle Linux 8.10 [#mi300x]_
|
||||||
|
,Debian 12 [#single-node]_,Debian 12 [#single-node]_,
|
||||||
|
,Azure Linux 3.0 [#mi300x]_,Azure Linux 3.0 [#mi300x]_,
|
||||||
|
,.. _architecture-support-compatibility-matrix:,,
|
||||||
|
:doc:`Architecture <rocm-install-on-linux:reference/system-requirements>`,CDNA3,CDNA3,CDNA3
|
||||||
|
,CDNA2,CDNA2,CDNA2
|
||||||
|
,CDNA,CDNA,CDNA
|
||||||
|
,RDNA4,,
|
||||||
|
,RDNA3,RDNA3,RDNA3
|
||||||
|
,RDNA2,RDNA2,RDNA2
|
||||||
|
,.. _gpu-support-compatibility-matrix:,,
|
||||||
|
:doc:`GPU / LLVM target <rocm-install-on-linux:reference/system-requirements>`,gfx1201 [#RDNA-OS]_,,
|
||||||
|
,gfx1200 [#RDNA-OS]_,,
|
||||||
|
,gfx1101 [#RDNA-OS]_,,
|
||||||
|
,gfx1100,gfx1100,gfx1100
|
||||||
|
,gfx1030,gfx1030,gfx1030
|
||||||
|
,gfx942,gfx942,gfx942
|
||||||
|
,gfx90a,gfx90a,gfx90a
|
||||||
|
,gfx908,gfx908,gfx908
|
||||||
|
,,,
|
||||||
|
FRAMEWORK SUPPORT,.. _framework-support-compatibility-matrix:,,
|
||||||
|
:doc:`PyTorch <../compatibility/ml-compatibility/pytorch-compatibility>`,"2.6, 2.5, 2.4, 2.3","2.6, 2.5, 2.4, 2.3","2.4, 2.3, 2.2, 2.1, 2.0, 1.13"
|
||||||
|
:doc:`TensorFlow <../compatibility/ml-compatibility/tensorflow-compatibility>`,"2.18.1, 2.17.1, 2.16.2","2.18.1, 2.17.1, 2.16.2","2.17.0, 2.16.2, 2.15.1"
|
||||||
|
:doc:`JAX <../compatibility/ml-compatibility/jax-compatibility>`,0.4.35,0.4.35,0.4.31
|
||||||
|
`ONNX Runtime <https://onnxruntime.ai/docs/build/eps.html#amd-migraphx>`_,1.2,1.2,1.17.3
|
||||||
|
,,,
|
||||||
|
THIRD PARTY COMMS,.. _thirdpartycomms-support-compatibility-matrix:,,
|
||||||
|
`UCC <https://github.com/ROCm/ucc>`_,>=1.3.0,>=1.3.0,>=1.3.0
|
||||||
|
`UCX <https://github.com/ROCm/ucx>`_,>=1.15.0,>=1.15.0,>=1.15.0
|
||||||
|
,,,
|
||||||
|
THIRD PARTY ALGORITHM,.. _thirdpartyalgorithm-support-compatibility-matrix:,,
|
||||||
|
Thrust,2.5.0,2.5.0,2.3.2
|
||||||
|
CUB,2.5.0,2.5.0,2.3.2
|
||||||
|
,,,
|
||||||
|
KMD & USER SPACE [#kfd_support]_,.. _kfd-userspace-support-compatibility-matrix:,,
|
||||||
|
:doc:`KMD versions <rocm-install-on-linux:reference/user-kernel-space-compat-matrix>`,"6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x","6.4.x, 6.3.x, 6.2.x, 6.1.x"
|
||||||
|
,,,
|
||||||
|
ML & COMPUTER VISION,.. _mllibs-support-compatibility-matrix:,,
|
||||||
|
:doc:`Composable Kernel <composable_kernel:index>`,1.1.0,1.1.0,1.1.0
|
||||||
|
:doc:`MIGraphX <amdmigraphx:index>`,2.12.0,2.12.0,2.11.0
|
||||||
|
:doc:`MIOpen <miopen:index>`,3.4.0,3.4.0,3.3.0
|
||||||
|
:doc:`MIVisionX <mivisionx:index>`,3.2.0,3.2.0,3.1.0
|
||||||
|
:doc:`rocAL <rocal:index>`,2.2.0,2.2.0,2.1.0
|
||||||
|
:doc:`rocDecode <rocdecode:index>`,0.10.0,0.10.0,0.8.0
|
||||||
|
:doc:`rocJPEG <rocjpeg:index>`,0.8.0,0.8.0,0.6.0
|
||||||
|
:doc:`rocPyDecode <rocpydecode:index>`,0.3.1,0.3.1,0.2.0
|
||||||
|
:doc:`RPP <rpp:index>`,1.9.10,1.9.10,1.9.1
|
||||||
|
,,,
|
||||||
|
COMMUNICATION,.. _commlibs-support-compatibility-matrix:,,
|
||||||
|
:doc:`RCCL <rccl:index>`,2.22.3,2.22.3,2.21.5
|
||||||
|
:doc:`rocSHMEM <rocshmem:index>`,2.0.0,2.0.0,N/A
|
||||||
|
,,,
|
||||||
|
MATH LIBS,.. _mathlibs-support-compatibility-matrix:,,
|
||||||
|
`half <https://github.com/ROCm/half>`_ ,1.12.0,1.12.0,1.12.0
|
||||||
|
:doc:`hipBLAS <hipblas:index>`,2.4.0,2.4.0,2.3.0
|
||||||
|
:doc:`hipBLASLt <hipblaslt:index>`,0.12.1,0.12.0,0.10.0
|
||||||
|
:doc:`hipFFT <hipfft:index>`,1.0.18,1.0.18,1.0.17
|
||||||
|
:doc:`hipfort <hipfort:index>`,0.6.0,0.6.0,0.5.0
|
||||||
|
:doc:`hipRAND <hiprand:index>`,2.12.0,2.12.0,2.11.0
|
||||||
|
:doc:`hipSOLVER <hipsolver:index>`,2.4.0,2.4.0,2.3.0
|
||||||
|
:doc:`hipSPARSE <hipsparse:index>`,3.2.0,3.2.0,3.1.2
|
||||||
|
:doc:`hipSPARSELt <hipsparselt:index>`,0.2.3,0.2.3,0.2.2
|
||||||
|
:doc:`rocALUTION <rocalution:index>`,3.2.3,3.2.2,3.2.1
|
||||||
|
:doc:`rocBLAS <rocblas:index>`,4.4.0,4.4.0,4.3.0
|
||||||
|
:doc:`rocFFT <rocfft:index>`,1.0.32,1.0.32,1.0.31
|
||||||
|
:doc:`rocRAND <rocrand:index>`,3.3.0,3.3.0,3.2.0
|
||||||
|
:doc:`rocSOLVER <rocsolver:index>`,3.28.0,3.28.0,3.27.0
|
||||||
|
:doc:`rocSPARSE <rocsparse:index>`,3.4.0,3.4.0,3.3.0
|
||||||
|
:doc:`rocWMMA <rocwmma:index>`,1.7.0,1.7.0,1.6.0
|
||||||
|
:doc:`Tensile <tensile:src/index>`,4.43.0,4.43.0,4.42.0
|
||||||
|
,,,
|
||||||
|
PRIMITIVES,.. _primitivelibs-support-compatibility-matrix:,,
|
||||||
|
:doc:`hipCUB <hipcub:index>`,3.4.0,3.4.0,3.3.0
|
||||||
|
:doc:`hipTensor <hiptensor:index>`,1.5.0,1.5.0,1.4.0
|
||||||
|
:doc:`rocPRIM <rocprim:index>`,3.4.0,3.4.0,3.3.0
|
||||||
|
:doc:`rocThrust <rocthrust:index>`,3.3.0,3.3.0,3.3.0
|
||||||
|
,,,
|
||||||
|
SUPPORT LIBS,,,
|
||||||
|
`hipother <https://github.com/ROCm/hipother>`_,6.4.43483,6.4.43482,6.3.42131
|
||||||
|
`rocm-core <https://github.com/ROCm/rocm-core>`_,6.4.1,6.4.0,6.3.0
|
||||||
|
`ROCT-Thunk-Interface <https://github.com/ROCm/ROCT-Thunk-Interface>`_,N/A [#ROCT-rocr]_,N/A [#ROCT-rocr]_,N/A [#ROCT-rocr]_
|
||||||
|
,,,
|
||||||
|
SYSTEM MGMT TOOLS,.. _tools-support-compatibility-matrix:,,
|
||||||
|
:doc:`AMD SMI <amdsmi:index>`,25.4.2,25.3.0,24.7.1
|
||||||
|
:doc:`ROCm Data Center Tool <rdc:index>`,0.3.0,0.3.0,0.3.0
|
||||||
|
:doc:`rocminfo <rocminfo:index>`,1.0.0,1.0.0,1.0.0
|
||||||
|
:doc:`ROCm SMI <rocm_smi_lib:index>`,7.5.0,7.5.0,7.4.0
|
||||||
|
:doc:`ROCm Validation Suite <rocmvalidationsuite:index>`,1.1.0,1.1.0,1.1.0
|
||||||
|
,,,
|
||||||
|
PERFORMANCE TOOLS,,,
|
||||||
|
:doc:`ROCm Bandwidth Test <rocm_bandwidth_test:index>`,1.4.0,1.4.0,1.4.0
|
||||||
|
:doc:`ROCm Compute Profiler <rocprofiler-compute:index>`,3.1.0,3.1.0,3.0.0
|
||||||
|
:doc:`ROCm Systems Profiler <rocprofiler-systems:index>`,1.0.1,1.0.0,0.1.0
|
||||||
|
:doc:`ROCProfiler <rocprofiler:index>`,2.0.60401,2.0.60400,2.0.60300
|
||||||
|
:doc:`ROCprofiler-SDK <rocprofiler-sdk:index>`,0.6.0,0.6.0,0.5.0
|
||||||
|
:doc:`ROCTracer <roctracer:index>`,4.1.60401,4.1.60400,4.1.60300
|
||||||
|
,,,
|
||||||
|
DEVELOPMENT TOOLS,,,
|
||||||
|
:doc:`HIPIFY <hipify:index>`,19.0.0,19.0.0,18.0.0.24455
|
||||||
|
:doc:`ROCm CMake <rocmcmakebuildtools:index>`,0.14.0,0.14.0,0.14.0
|
||||||
|
:doc:`ROCdbgapi <rocdbgapi:index>`,0.77.2,0.77.2,0.77.0
|
||||||
|
:doc:`ROCm Debugger (ROCgdb) <rocgdb:index>`,15.2.0,15.2.0,15.2.0
|
||||||
|
`rocprofiler-register <https://github.com/ROCm/rocprofiler-register>`_,0.4.0,0.4.0,0.4.0
|
||||||
|
:doc:`ROCr Debug Agent <rocr_debug_agent:index>`,2.0.4,2.0.4,2.0.3
|
||||||
|
,,,
|
||||||
|
COMPILERS,.. _compilers-support-compatibility-matrix:,,
|
||||||
|
`clang-ocl <https://github.com/ROCm/clang-ocl>`_,N/A,N/A,N/A
|
||||||
|
:doc:`hipCC <hipcc:index>`,1.1.1,1.1.1,1.1.1
|
||||||
|
`Flang <https://github.com/ROCm/flang>`_,19.0.0.25184,19.0.0.25133,18.0.0.24455
|
||||||
|
:doc:`llvm-project <llvm-project:index>`,19.0.0.25184,19.0.0.25133,18.0.0.24491
|
||||||
|
`OpenMP <https://github.com/ROCm/llvm-project/tree/amd-staging/openmp>`_,19.0.0.25184,19.0.0.25133,18.0.0.24491
|
||||||
|
,,,
|
||||||
|
RUNTIMES,.. _runtime-support-compatibility-matrix:,,
|
||||||
|
:doc:`AMD CLR <hip:understand/amd_clr>`,6.4.43483,6.4.43482,6.3.42131
|
||||||
|
:doc:`HIP <hip:index>`,6.4.43483,6.4.43482,6.3.42131
|
||||||
|
`OpenCL Runtime <https://github.com/ROCm/clr/tree/develop/opencl>`_,2.0.0,2.0.0,2.0.0
|
||||||
|
:doc:`ROCr Runtime <rocr-runtime:index>`,1.15.0,1.15.0,1.14.0
|
||||||
|
|
||||||
.. selected:: fam=ryzen
|
|
||||||
|
|
||||||
If you're interested in testing AMD Ryzen APUs with preview support for
|
.. rubric:: Footnotes
|
||||||
graphics use cases with AMD ROCm 7.11.0, use the inbox graphics drivers of
|
|
||||||
Ubuntu 24.04.3.
|
|
||||||
|
|
||||||
.. include:: ./includes/system-instinct.rst
|
.. [#mi300x] Oracle Linux and Azure Linux are supported only on AMD Instinct MI300X.
|
||||||
|
.. [#single-node] Debian 12 is supported only on AMD Instinct MI300X for single-node functionality.
|
||||||
|
.. [#mi300_620] **For ROCm 6.2.0** - MI300X (gfx942) is supported on listed operating systems *except* Ubuntu 22.04.5 [6.8 HWE] and Ubuntu 22.04.4 [6.5 HWE].
|
||||||
|
.. [#kfd_support] Starting from ROCm 6.4.0, forward and backward compatibility between the AMD Kernel-mode GPU Driver (KMD) and its user space software is provided up to a year apart (assuming hardware support is available in both). For earlier ROCm releases, the compatibility is provided for +/- 2 releases. These are the compatibility combinations that are currently supported.
|
||||||
|
.. [#ROCT-rocr] Starting from ROCm 6.3.0, the ROCT Thunk Interface is included as part of the ROCr runtime package.
|
||||||
|
.. [#RDNA-OS] Radeon AI PRO R9700, Radeon RX 9070 XT (gfx1201), Radeon RX 9060 XT (gfx1200), Radeon PRO W7700 (gfx1101), and Radeon RX 7800 XT (gfx1101) are supported only on Ubuntu 24.04.2, Ubuntu 22.04.5, RHEL 9.6, RHEL 9.5, and RHEL 9.4.
|
||||||
|
|
||||||
.. include:: ./includes/system-radeon-pro.rst
|
.. _OS-kernel-versions:
|
||||||
|
|
||||||
.. include:: ./includes/system-radeon.rst
|
Operating systems, kernel and Glibc versions
|
||||||
|
*********************************************
|
||||||
|
|
||||||
.. include:: ./includes/system-ryzen.rst
|
Use this lookup table to confirm which operating system and kernel versions are supported with ROCm.
|
||||||
|
|
||||||
----
|
.. csv-table::
|
||||||
|
:header: "OS", "Version", "Kernel", "Glibc"
|
||||||
|
:widths: 40, 20, 30, 20
|
||||||
|
:stub-columns: 1
|
||||||
|
|
||||||
.. _rocm-compat-frameworks:
|
`Ubuntu <https://ubuntu.com/about/release-cycle#ubuntu-kernel-release-cycle>`_, 24.04.2, "6.8 GA, 6.11 HWE", 2.39
|
||||||
|
,,
|
||||||
Deep learning frameworks
|
`Ubuntu <https://ubuntu.com/about/release-cycle#ubuntu-kernel-release-cycle>`_, 22.04.5, "5.15 GA, 6.8 HWE", 2.35
|
||||||
========================
|
,,
|
||||||
|
`Red Hat Enterprise Linux (RHEL 9) <https://access.redhat.com/articles/3078#RHEL9>`_, 9.6, 5.14+, 2.34
|
||||||
ROCm |ROCM_VERSION| provides optimized support for popular deep learning
|
, 9.5, 5.14+, 2.34
|
||||||
frameworks. The following table lists supported frameworks and their supported
|
,9.4, 5.14+, 2.34
|
||||||
versions.
|
,9.3, 5.14+, 2.34
|
||||||
|
,,
|
||||||
.. _rocm-compat-pytorch:
|
`Red Hat Enterprise Linux (RHEL 8) <https://access.redhat.com/articles/3078#RHEL8>`_, 8.10, 4.18.0+, 2.28
|
||||||
|
,8.9, 4.18.0, 2.28
|
||||||
.. matrix::
|
,,
|
||||||
|
`SUSE Linux Enterprise Server (SLES) <https://www.suse.com/support/kb/doc/?id=000019587#SLE15SP4>`_, 15 SP6, "6.5.0+, 6.4.0", 2.38
|
||||||
.. matrix-head::
|
,15 SP5, 5.14.21, 2.31
|
||||||
|
,,
|
||||||
.. matrix-row::
|
`Oracle Linux <https://blogs.oracle.com/scoter/post/oracle-linux-and-unbreakable-enterprise-kernel-uek-releases>`_, 9, 5.15.0 (UEK), 2.35
|
||||||
|
,8, 5.15.0 (UEK), 2.28
|
||||||
.. matrix-cell:: Framework
|
,,
|
||||||
:header:
|
`Debian <https://www.debian.org/download>`_,12, 6.1, 2.36
|
||||||
|
,,
|
||||||
.. matrix-cell:: Supported versions
|
`Azure Linux <https://techcommunity.microsoft.com/blog/linuxandopensourceblog/azure-linux-3-0-now-in-preview-on-azure-kubernetes-service-v1-31/4287229>`_,3.0, 6.6.60, 2.38
|
||||||
:header:
|
,,
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct fam=ryzen
|
|
||||||
|
|
||||||
.. matrix-cell:: PyTorch
|
|
||||||
|
|
||||||
.. matrix-cell:: 2.9.1, 2.8.0, 2.7.1
|
|
||||||
:show-when: os=ubuntu os=debian os=rhel os=oracle-linux os=rocky-linux os=sles
|
|
||||||
|
|
||||||
.. matrix-cell:: 2.9.1
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=radeon fam=radeon-pro
|
|
||||||
|
|
||||||
.. matrix-cell:: PyTorch
|
|
||||||
|
|
||||||
.. matrix-cell:: 2.9.1
|
|
||||||
|
|
||||||
For installation instructions, see :ref:`pip-install-pytorch`.
|
|
||||||
|
|
||||||
.. _rocm-compat-python:
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
ROCm |ROCM_VERSION| is compatible with Python versions 3.11, 3.12, and
|
* See `Red Hat Enterprise Linux Release Dates <https://access.redhat.com/articles/3078>`_ to learn about the specific kernel versions supported on Red Hat Enterprise Linux (RHEL).
|
||||||
3.13.
|
* See `List of SUSE Linux Enterprise Server kernel <https://www.suse.com/support/kb/doc/?id=000019587>`_ to learn about the specific kernel version supported on SUSE Linux Enterprise Server (SLES).
|
||||||
|
..
|
||||||
|
Footnotes and ref anchors in below historical tables should be appended with "-past-60", to differentiate from the
|
||||||
|
footnote references in the above, latest, compatibility matrix. It also allows to easily find & replace.
|
||||||
|
An easy way to work is to download the historical.CSV file, and update open it in excel. Then when content is ready,
|
||||||
|
delete the columns you don't need, to build the current compatibility matrix to use in above table. Find & replace all
|
||||||
|
instances of "-past-60" to make it ready for above table.
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
ROCm Core SDK components
|
.. _past-rocm-compatibility-matrix:
|
||||||
========================
|
|
||||||
|
|
||||||
The following table lists core components included in the ROCm |ROCM_VERSION|
|
Past versions of ROCm compatibility matrix
|
||||||
release. Expect future releases in this stream to expand the list of
|
***************************************************
|
||||||
components.
|
|
||||||
|
|
||||||
.. include:: ./includes/core-sdk-components-linux.rst
|
Expand for full historical view of:
|
||||||
|
|
||||||
.. include:: ./includes/core-sdk-components-windows.rst
|
.. dropdown:: ROCm 6.0 - Present
|
||||||
|
|
||||||
----
|
You can `download the entire .csv <../downloads/compatibility-matrix-historical-6.0.csv>`_ for offline reference.
|
||||||
|
|
||||||
.. include:: ./includes/virtualization-instinct.rst
|
.. csv-table::
|
||||||
|
:file: compatibility-matrix-historical-6.0.csv
|
||||||
|
:header-rows: 1
|
||||||
|
:stub-columns: 1
|
||||||
|
|
||||||
|
.. rubric:: Footnotes
|
||||||
|
|
||||||
|
.. [#mi300x-past-60] Oracle Linux and Azure Linux are supported only on AMD Instinct MI300X.
|
||||||
|
.. [#single-node-past-60] Debian 12 is supported only on AMD Instinct MI300X for single-node functionality.
|
||||||
|
.. [#mi300_624-past-60] **For ROCm 6.2.4** - MI300X (gfx942) is supported on listed operating systems *except* Ubuntu 22.04.5 [6.8 HWE] and Ubuntu 22.04.4 [6.5 HWE].
|
||||||
|
.. [#mi300_622-past-60] **For ROCm 6.2.2** - MI300X (gfx942) is supported on listed operating systems *except* Ubuntu 22.04.5 [6.8 HWE] and Ubuntu 22.04.4 [6.5 HWE].
|
||||||
|
.. [#mi300_621-past-60] **For ROCm 6.2.1** - MI300X (gfx942) is supported on listed operating systems *except* Ubuntu 22.04.5 [6.8 HWE] and Ubuntu 22.04.4 [6.5 HWE].
|
||||||
|
.. [#mi300_620-past-60] **For ROCm 6.2.0** - MI300X (gfx942) is supported on listed operating systems *except* Ubuntu 22.04.5 [6.8 HWE] and Ubuntu 22.04.4 [6.5 HWE].
|
||||||
|
.. [#mi300_612-past-60] **For ROCm 6.1.2** - MI300A (gfx942) is supported on Ubuntu 22.04.4, RHEL 9.4, RHEL 9.3, RHEL 8.9, and SLES 15 SP5. MI300X (gfx942) is only supported on Ubuntu 22.04.4 and Oracle Linux.
|
||||||
|
.. [#mi300_611-past-60] **For ROCm 6.1.1** - MI300A (gfx942) is supported on Ubuntu 22.04.4, RHEL 9.4, RHEL 9.3, RHEL 8.9, and SLES 15 SP5. MI300X (gfx942) is only supported on Ubuntu 22.04.4 and Oracle Linux.
|
||||||
|
.. [#mi300_610-past-60] **For ROCm 6.1.0** - MI300A (gfx942) is supported on Ubuntu 22.04.4, RHEL 9.4, RHEL 9.3, RHEL 8.9, and SLES 15 SP5. MI300X (gfx942) is only supported on Ubuntu 22.04.4.
|
||||||
|
.. [#mi300_602-past-60] **For ROCm 6.0.2** - MI300A (gfx942) is supported on Ubuntu 22.04.3, RHEL 8.9, and SLES 15 SP5. MI300X (gfx942) is only supported on Ubuntu 22.04.3.
|
||||||
|
.. [#mi300_600-past-60] **For ROCm 6.0.0** - MI300A (gfx942) is supported on Ubuntu 22.04.3, RHEL 8.9, and SLES 15 SP5. MI300X (gfx942) is only supported on Ubuntu 22.04.3.
|
||||||
|
.. [#kfd_support-past-60] Starting from ROCm 6.4.0, forward and backward compatibility between the AMD Kernel-mode GPU Driver (KMD) and its user space software is provided up to a year apart (assuming hardware support is available in both). For earlier ROCm releases, the compatibility is provided for +/- 2 releases. These are the compatibility combinations that are currently supported.
|
||||||
|
.. [#ROCT-rocr-past-60] Starting from ROCm 6.3.0, the ROCT Thunk Interface is included as part of the ROCr runtime package.
|
||||||
|
.. [#RDNA-OS-past-60] Radeon AI PRO R9700, Radeon RX 9070 XT (gfx1201), Radeon RX 9060 XT (gfx1200), Radeon PRO W7700 (gfx1101), and Radeon RX 7800 XT (gfx1101) are supported only on Ubuntu 24.04.2, Ubuntu 22.04.5, RHEL 9.6, RHEL 9.5, and RHEL 9.4.
|
||||||
|
|||||||
@@ -1,263 +0,0 @@
|
|||||||
.. matrix::
|
|
||||||
:show-when: os=ubuntu os=debian os=rhel os=oracle-linux os=rocky-linux os=sles
|
|
||||||
|
|
||||||
.. matrix-head::
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: Component group
|
|
||||||
|
|
||||||
.. matrix-cell:: Component name
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Math and compute libraries
|
|
||||||
:rowspan: 18
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`Composable Kernel <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/composablekernel>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipBLAS <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipblas>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipBLASLt <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipblaslt>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipCUB <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipcub>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipFFT <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipfft>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipRAND <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hiprand>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipSOLVER <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipsolver>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipSPARSE <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipsparse>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipSPARSELt <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipsparselt>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`MIOpen <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/miopen>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocBLAS <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocblas>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocFFT <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocfft>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocPRIM <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocprim>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocRAND <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocrand>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocSOLVER <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocsolver>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocSPARSE <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocsparse>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocThrust <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocthrust>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocWMMA <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocwmma>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Communication librarires
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`RCCL <https://github.com/ROCm/rccl/tree/release/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Support libraries
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCm CMake <https://github.com/ROCm/rocm-cmake/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Runtimes and compilers
|
|
||||||
:rowspan: 5
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell:: Runtimes and compilers
|
|
||||||
:rowspan: 4
|
|
||||||
:show-when: fam=ryzen
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`HIP <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/hip>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`HIPIFY <https://github.com/ROCm/HIPIFY/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`LLVM <https://github.com/ROCm/llvm-project/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCr Runtime <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocr-runtime>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`SPIRV-LLVM-Translator <https://github.com/ROCm/SPIRV-LLVM-Translator/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Profiling and debugging tools
|
|
||||||
:rowspan: 6
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
.. matrix-cell:: Profiling and debugging tools
|
|
||||||
:rowspan: 4
|
|
||||||
:show-when: fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
`ROCm Compute Profiler (rocprofiler-compute) <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocprofiler-compute>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
`ROCprofiler-SDK <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocprofiler-sdk>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCm Systems Profiler (rocprofiler-systems) <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocprofiler-systems>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCprofiler-SDK <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocprofiler-sdk>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCdbgapi <https://github.com/ROCm/ROCdbgapi/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCm Debugger (ROCgdb) <https://github.com/ROCm/ROCgdb/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCr Debug Agent <https://github.com/ROCm/rocr_debug_agent/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Control and monitoring tools
|
|
||||||
:rowspan: 2
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: fam=instinct fam=radeon-pro fam=radeon
|
|
||||||
|
|
||||||
`AMD SMI <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/amdsmi>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocminfo <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/rocminfo>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: System validation tools
|
|
||||||
:rowspan: 2
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCm Bandwidth Test <https://github.com/ROCm/rocm_bandwidth_test>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`TransferBench <https://github.com/ROCm/TransferBench>`__
|
|
||||||
@@ -1,151 +0,0 @@
|
|||||||
.. matrix::
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-head::
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: Component group
|
|
||||||
|
|
||||||
.. matrix-cell:: Component name
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Math and compute libraries
|
|
||||||
:rowspan: 17
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`Composable Kernel <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/composablekernel>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipBLAS <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipblas>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipBLASLt <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipblaslt>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipCUB <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipcub>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipFFT <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipfft>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipRAND <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocsolver>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipSOLVER <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipsolver>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`hipSPARSE <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/hipsparse>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`MIOpen <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/miopen>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocBLAS <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocblas>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocFFT <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocfft>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocPRIM <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocprim>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocRAND <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocrand>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocSOLVER <https://github.com/ROCm/rocm-libraries/tree/therock-7.9.0/projects/rocsolver>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocSPARSE <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocsparse>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocThrust <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocthrust>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`rocWMMA <https://github.com/ROCm/rocm-libraries/tree/release/therock-7.11/projects/rocwmma>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Support libraries
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`ROCm CMake <https://github.com/ROCm/rocm-cmake/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Runtimes and compilers
|
|
||||||
:rowspan: 3
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`HIP <https://github.com/ROCm/rocm-systems/tree/release/therock-7.11/projects/hip>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`HIPIFY <https://github.com/ROCm/HIPIFY/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`LLVM <https://github.com/ROCm/llvm-project/tree/release/therock-7.11>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Control and monitoring tools
|
|
||||||
|
|
||||||
.. matrix-cell:: hipinfo
|
|
||||||
@@ -1,357 +0,0 @@
|
|||||||
.. =========================================================== GPU/APU FAMILY ==
|
|
||||||
|
|
||||||
.. selector:: AMD device family
|
|
||||||
:key: fam
|
|
||||||
|
|
||||||
.. selector-option:: Instinct
|
|
||||||
:value: instinct
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Radeon PRO
|
|
||||||
:value: radeon-pro
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Radeon
|
|
||||||
:value: radeon
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Ryzen AI
|
|
||||||
:value: ryzen
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
|
|
||||||
.. ================================================================ GPU / APU ==
|
|
||||||
|
|
||||||
.. selector:: Instinct GPU
|
|
||||||
:key: gpu
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
.. selector-info:: https://www.amd.com/en/products/accelerators/instinct.html
|
|
||||||
|
|
||||||
.. selector-option:: MI355X
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI350X
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI325X
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI300X
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI300A
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI250X
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI250
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: MI210
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector:: Radeon PRO GPU
|
|
||||||
:key: gpu
|
|
||||||
:show-when: fam=radeon-pro
|
|
||||||
|
|
||||||
.. selector-info:: https://www.amd.com/en/products/graphics/workstations.html
|
|
||||||
|
|
||||||
.. selector-option:: AI PRO R9700
|
|
||||||
:value: ai-r9700
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: AI PRO R9600D
|
|
||||||
:value: ai-r9600d
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: W7900 Dual Slot
|
|
||||||
:value: w7900-dual-slot
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: W7900
|
|
||||||
:value: w7900
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: W7800 48GB
|
|
||||||
:value: w7800-48gb
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: W7800
|
|
||||||
:value: w7800
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: W7700
|
|
||||||
:value: w7700
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: V710
|
|
||||||
:value: v710
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector:: Radeon GPU
|
|
||||||
:key: gpu
|
|
||||||
:show-when: fam=radeon
|
|
||||||
|
|
||||||
.. selector-info:: https://www.amd.com/en/products/graphics/desktops/radeon.html
|
|
||||||
|
|
||||||
.. selector-option:: RX 9070 XT
|
|
||||||
:value: rx-9070-xt
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 9070 GRE
|
|
||||||
:value: rx-9070-gre
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 9070
|
|
||||||
:value: rx-9070
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 9060 XT LP
|
|
||||||
:value: rx-9060-xt-lp
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 9060 XT
|
|
||||||
:value: rx-9060-xt
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 9060
|
|
||||||
:value: rx-9060
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7900 XTX
|
|
||||||
:value: rx-7900-xtx
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7900 XT
|
|
||||||
:value: rx-7900-xt
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7900 GRE
|
|
||||||
:value: rx-7900-gre
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7800 XT
|
|
||||||
:value: rx-7800-xt
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7700 XT
|
|
||||||
:value: rx-7700-xt
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RX 7700
|
|
||||||
:value: rx-7700
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector:: Ryzen AI APU
|
|
||||||
:key: gpu
|
|
||||||
:show-when: fam=ryzen
|
|
||||||
|
|
||||||
.. selector-info:: https://www.amd.com/en/products/processors/workstations/mobile.html
|
|
||||||
|
|
||||||
.. selector-option:: Max+ PRO 395
|
|
||||||
:value: max-pro-395
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Max PRO 390
|
|
||||||
:value: max-pro-390
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Max PRO 385
|
|
||||||
:value: max-pro-385
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Max PRO 380
|
|
||||||
:value: max-pro-380
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Max+ 395
|
|
||||||
:value: max-395
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
.. selector-option:: Max 390
|
|
||||||
:value: max-390
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
.. selector-option:: Max 385
|
|
||||||
:value: max-385
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
.. selector-option:: 9 HX 375
|
|
||||||
:value: 9-hx-375
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
.. selector-option:: 9 HX 370
|
|
||||||
:value: 9-hx-370
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
.. selector-option:: 9 365
|
|
||||||
:value: 9-365
|
|
||||||
:width: 2
|
|
||||||
|
|
||||||
|
|
||||||
.. ========================================================= OPERATING SYSTEM ==
|
|
||||||
|
|
||||||
.. selected:: fam=instinct
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x gpu=mi325x
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 20%
|
|
||||||
|
|
||||||
.. selector-option:: Debian
|
|
||||||
:value: debian
|
|
||||||
:width: 20%
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x gpu=mi325x
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 20%
|
|
||||||
|
|
||||||
.. selector-option:: Oracle Linux
|
|
||||||
:value: oracle-linux
|
|
||||||
:width: 20%
|
|
||||||
|
|
||||||
.. selector-option:: SLES
|
|
||||||
:value: sles
|
|
||||||
:width: 20%
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=mi300x
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: Debian
|
|
||||||
:value: debian
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: Oracle Linux
|
|
||||||
:value: oracle-linux
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: Rocky Linux
|
|
||||||
:value: rocky-linux
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: SLES
|
|
||||||
:value: sles
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=mi300a
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: Rocky Linux
|
|
||||||
:value: rocky-linux
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector-option:: SLES
|
|
||||||
:value: sles
|
|
||||||
:width: 3
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: SLES
|
|
||||||
:value: sles
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selected:: fam=radeon-pro
|
|
||||||
|
|
||||||
.. selector:: Operating system
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=ai-r9700 gpu=w7900-dual-slot gpu=w7900 gpu=w7800-48gb gpu=w7800 gpu=w7700 gpu=w6800
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: Windows
|
|
||||||
:value: windows
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=v710 gpu=ai-r9600d
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 6
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 6
|
|
||||||
|
|
||||||
.. selected:: fam=radeon
|
|
||||||
|
|
||||||
.. selector:: Linux distribution
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=rx-9070-xt gpu=rx-9070-gre gpu=rx-9070 gpu=rx-9060-xt-lp gpu=rx-9060-xt gpu=rx-9060
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 6
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 6
|
|
||||||
|
|
||||||
.. selector:: Operating system
|
|
||||||
:key: os
|
|
||||||
:show-when: gpu=rx-7900-xtx gpu=rx-7900-xt gpu=rx-7900-gre gpu=rx-7800-xt gpu=rx-7700-xt gpu=rx-7700
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: RHEL
|
|
||||||
:value: rhel
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector-option:: Windows
|
|
||||||
:value: windows
|
|
||||||
:width: 4
|
|
||||||
|
|
||||||
.. selector:: Operating system
|
|
||||||
:key: os
|
|
||||||
:show-when: fam=ryzen
|
|
||||||
|
|
||||||
.. selector-option:: Ubuntu
|
|
||||||
:value: ubuntu
|
|
||||||
:width: 6
|
|
||||||
|
|
||||||
.. selector-option:: Windows
|
|
||||||
:value: windows
|
|
||||||
:width: 6
|
|
||||||
@@ -1,209 +0,0 @@
|
|||||||
.. matrix::
|
|
||||||
:show-when: fam=instinct
|
|
||||||
|
|
||||||
.. matrix-head::
|
|
||||||
|
|
||||||
.. raw:: html
|
|
||||||
|
|
||||||
<colgroup style="width: 50%;">
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: AMD GPU series
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x
|
|
||||||
|
|
||||||
`AMD Instinct MI350 Series <https://www.amd.com/en/products/accelerators/instinct/mi350.html>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi325x gpu=mi300x gpu=mi300a
|
|
||||||
|
|
||||||
`AMD Instinct MI300 Series <https://www.amd.com/en/products/accelerators/instinct/mi300.html>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
`AMD Instinct MI200 Series <https://www.amd.com/en/products/accelerators/instinct/mi200.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Architecture
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: CDNA 4
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x
|
|
||||||
|
|
||||||
.. matrix-cell:: CDNA 3
|
|
||||||
:show-when: gpu=mi325x gpu=mi300x gpu=mi300a
|
|
||||||
|
|
||||||
.. matrix-cell:: CDNA 2
|
|
||||||
:show-when: gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: LLVM target
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx950
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx942
|
|
||||||
:show-when: gpu=mi325x gpu=mi300x gpu=mi300a
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx90a
|
|
||||||
:show-when: gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=ubuntu
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Ubuntu versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
Ubuntu 24.04.3 (GA kernel: 6.8)
|
|
||||||
|
|
||||||
Ubuntu 22.04.5 (GA kernel: 5.15)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=rhel
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Red Hat Enterprise Linux versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi325x
|
|
||||||
|
|
||||||
RHEL 10.1 (kernel: 6.12.0-124)
|
|
||||||
|
|
||||||
RHEL 10.0 (kernel: 6.12.0-55)
|
|
||||||
|
|
||||||
RHEL 9.7 (kernel: 5.14.0-611)
|
|
||||||
|
|
||||||
RHEL 9.6 (kernel: 5.14.0-570)
|
|
||||||
|
|
||||||
RHEL 9.4 (kernel: 5.14.0-427)
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x gpu=mi300x gpu=mi300a gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
RHEL 10.1 (kernel: 6.12.0-124)
|
|
||||||
|
|
||||||
RHEL 10.0 (kernel: 6.12.0-55)
|
|
||||||
|
|
||||||
RHEL 9.7 (kernel: 5.14.0-611)
|
|
||||||
|
|
||||||
RHEL 9.6 (kernel: 5.14.0-570)
|
|
||||||
|
|
||||||
RHEL 9.4 (kernel: 5.14.0-427)
|
|
||||||
|
|
||||||
RHEL 8.10 (kernel: 4.18.0-553)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=debian
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Debian version
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: Debian 13 (kernel: 6.12)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=oracle-linux
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Oracle Linux versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x gpu=mi325x gpu=mi300a gpu=mi250x gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
Oracle Linux 10 (kernel: UEK 8.1)
|
|
||||||
|
|
||||||
Oracle Linux 9 (kernel: UEK 8)
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi300x
|
|
||||||
|
|
||||||
Oracle Linux 10 (kernel: UEK 8.1)
|
|
||||||
|
|
||||||
Oracle Linux 9 (kernel: UEK 8)
|
|
||||||
|
|
||||||
Oracle Linux 8 (kernel: UEK 7)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=rocky-linux
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Rocky Linux versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi300x gpu=mi300a
|
|
||||||
|
|
||||||
Rocky Linux 9 (kernel: 5.14.0-570)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=sles
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported SUSE Linux Enterprise Server versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
SLES 16.0 (kernel: 6.12)
|
|
||||||
|
|
||||||
SLES 15.7 (kernel: 6.4.0-150700.51)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported AMD GPU Driver (amdgpu) versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`31.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/31.10.0-preview/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.0/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.2 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.2/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported PLDM bundle (firmware) versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi355x gpu=mi350x
|
|
||||||
|
|
||||||
01.25.16.03
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi325x
|
|
||||||
|
|
||||||
01.25.04.02
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi300x
|
|
||||||
|
|
||||||
01.25.03.12
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi300a
|
|
||||||
|
|
||||||
BKC 26.1
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi250x
|
|
||||||
|
|
||||||
IFWI 75 (or later)
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=mi250 gpu=mi210
|
|
||||||
|
|
||||||
Maintenance update 5 with IFWI 75 (or later)
|
|
||||||
@@ -1,123 +0,0 @@
|
|||||||
.. matrix::
|
|
||||||
:show-when: fam=radeon-pro
|
|
||||||
|
|
||||||
.. matrix-head::
|
|
||||||
|
|
||||||
.. raw:: html
|
|
||||||
|
|
||||||
<colgroup style="width: 50%;">
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: AMD GPU series
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=ai-r9700 gpu=ai-r9600d
|
|
||||||
|
|
||||||
`AMD Radeon AI PRO R9000 Series <https://www.amd.com/en/products/graphics/workstations/radeon-ai-pro.html#tabs-95fa144b96-item-b95ec9e1ca-tab>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=w7900-dual-slot gpu=w7900 gpu=w7800-48gb gpu=w7800 gpu=w7700
|
|
||||||
|
|
||||||
`AMD Radeon PRO W7000 Series <https://www.amd.com/en/products/graphics/workstations/radeon-pro.html#tabs-990fdead92-item-20daa37284-tab>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=w6800
|
|
||||||
|
|
||||||
`AMD Radeon PRO W6000 Series <https://www.amd.com/en/products/graphics/workstations/radeon-pro/w6800.html>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=v710 gpu=v620
|
|
||||||
|
|
||||||
`AMD Radeon PRO V Series <https://www.amd.com/en/products/accelerators/radeon-pro.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Architecture
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: RDNA 4
|
|
||||||
:show-when: gpu=ai-r9700 gpu=ai-r9600d
|
|
||||||
|
|
||||||
.. matrix-cell:: RDNA 3
|
|
||||||
:show-when: gpu=w7900-dual-slot gpu=w7900 gpu=w7800-48gb gpu=w7800 gpu=w7700 gpu=v710 gpu=w6800 gpu=v620
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: LLVM target
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1201
|
|
||||||
:show-when: gpu=ai-r9700 gpu=ai-r9600d
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1100
|
|
||||||
:show-when: gpu=w7900-dual-slot gpu=w7900 gpu=w7800-48gb gpu=w7800
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1101
|
|
||||||
:show-when: gpu=w7700 gpu=v710
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1030
|
|
||||||
:show-when: gpu=w6800 gpu=v620
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=ubuntu
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Ubuntu versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
24.04.3 (GA kernel: 6.8)
|
|
||||||
|
|
||||||
22.04.5 (GA kernel: 5.15)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=rhel
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported RHEL versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
10.1 (kernel: 6.12.0-124)
|
|
||||||
|
|
||||||
9.7 (kernel: 5.14.0-427)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Windows version
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: Windows 11 25H2
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=ubuntu os=rhel
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported AMD GPU Driver (amdgpu) versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`31.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/31.10.0-preview/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.0/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.2 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.2/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Adrenalin Driver version
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`26.1.1 <https://www.amd.com/en/resources/support-articles/release-notes/RN-RAD-WIN-26-1-1.html>`__
|
|
||||||
@@ -1,113 +0,0 @@
|
|||||||
.. matrix::
|
|
||||||
:show-when: fam=radeon
|
|
||||||
|
|
||||||
.. matrix-head::
|
|
||||||
|
|
||||||
.. raw:: html
|
|
||||||
|
|
||||||
<colgroup style="width: 50%;">
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: AMD GPU series
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=rx-9070 gpu=rx-9070-gre gpu=rx-9070-xt gpu=rx-9060 gpu=rx-9060-xt gpu=rx-9060-xt-lp
|
|
||||||
|
|
||||||
`AMD Radeon RX 9000 Series <https://www.amd.com/en/products/graphics/desktops/radeon.html#tabs-ff9c5c3863-item-37fb38a236-tab>`__
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
:show-when: gpu=rx-7900-xtx gpu=rx-7900-xt gpu=rx-7900-gre gpu=rx-7800-xt gpu=rx-7700-xt gpu=rx-7700
|
|
||||||
|
|
||||||
`AMD Radeon RX 7000 Series <https://www.amd.com/en/products/graphics/desktops/radeon/7000-series.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: Architecture
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: RDNA 4
|
|
||||||
:show-when: gpu=rx-9070-xt gpu=rx-9070-gre gpu=rx-9070 gpu=rx-9060-xt-lp gpu=rx-9060-xt gpu=rx-9060
|
|
||||||
|
|
||||||
.. matrix-cell:: RDNA 3
|
|
||||||
:show-when: gpu=rx-7900-xtx gpu=rx-7900-xt gpu=rx-7900-gre gpu=rx-7800-xt gpu=rx-7700-xt gpu=rx-7700
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
|
|
||||||
.. matrix-cell:: LLVM target
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1201
|
|
||||||
:show-when: gpu=rx-9070 gpu=rx-9070-gre gpu=rx-9070-xt
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1200
|
|
||||||
:show-when: gpu=rx-9060 gpu=rx-9060-xt gpu=rx-9060-xt-lp
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1100
|
|
||||||
:show-when: gpu=rx-7900-xtx gpu=rx-7900-xt gpu=rx-7900-gre
|
|
||||||
|
|
||||||
.. matrix-cell:: gfx1101
|
|
||||||
:show-when: gpu=rx-7800-xt gpu=rx-7700-xt gpu=rx-7700
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=ubuntu
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Ubuntu versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
24.04.3 (GA kernel: 6.8)
|
|
||||||
|
|
||||||
22.04.5 (GA kernel: 5.15)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=rhel
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported RHEL versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
10.1 (kernel: 6.12.0-124)
|
|
||||||
|
|
||||||
9.7 (kernel: 5.14.0-427)
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Windows version
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell:: Windows 11 25H2
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=ubuntu os=rhel
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported AMD GPU Driver (amdgpu) versions
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`31.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/31.10.0-preview/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.20.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.20.0/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.2 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.2/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.1 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10.1/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
`30.10.0 <https://instinct.docs.amd.com/projects/amdgpu-docs/en/docs-30.10/documentation/release-notes.html>`__
|
|
||||||
|
|
||||||
.. matrix-row::
|
|
||||||
:show-when: os=windows
|
|
||||||
|
|
||||||
.. matrix-cell:: Supported Adrenalin Driver version
|
|
||||||
:header:
|
|
||||||
|
|
||||||
.. matrix-cell::
|
|
||||||
|
|
||||||
`26.1.1 <https://www.amd.com/en/resources/support-articles/release-notes/RN-RAD-WIN-26-1-1.html>`__
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user