Skip to content

Commit

Permalink
[TESTS][FP16][WORKAROUND] Fix test_conv_igemm_dynamic_xdlops* and tes…
Browse files Browse the repository at this point in the history
…t_regression_half_vega. W/A for #995 and #996 (#991)

- Added: Workarounds for #995 and #996
- Fixes the following issues in tests:
  - Issue: `test_conv_igemm_dynamic_xdlops_bwd` does not test the HALF type.
  - Issue: `test_conv_igemm_dynamic_xdlops_fwd` does not test the HALF type.
  - Issue: `test_conv_igemm_dynamic_xdlops_wrw` does not test the HALF type.
  - Issue: `test_regression_half_vega` does nothing.
- [Jenkinsfile] Added dedicated build param for FP16/BF16/INT8 Smoke tests
- [NFC] Removed some useless if's.
  • Loading branch information
atamazov committed Jul 22, 2021
1 parent 2a30cc0 commit b7c596f
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 56 deletions.
14 changes: 9 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ pipeline {
defaultValue: true,
description: "")
booleanParam(
name: "SMOKE_TESTS",
name: "SMOKE_FP32_AUX1",
defaultValue: true,
description: "")
booleanParam(
name: "SMOKE_FP16_BF16_INT8",
defaultValue: true,
description: "")
booleanParam(
Expand Down Expand Up @@ -280,7 +284,7 @@ pipeline {
}
}
stage("Smoke Fp32"){
when { expression { params.SMOKE_TESTS } }
when { expression { params.SMOKE_FP32_AUX1 } }
parallel{
stage('Fp32 OpenCL Debug') {
agent{ label rocmnode("vega") }
Expand Down Expand Up @@ -341,7 +345,7 @@ pipeline {
}
}
stage("Smoke Aux 1"){
when { expression { params.SMOKE_TESTS } }
when { expression { params.SMOKE_FP32_AUX1 } }
parallel{
stage('Fp32 HipNoGPU Debug') {
agent{ label rocmnode("nogpu") }
Expand Down Expand Up @@ -511,7 +515,7 @@ pipeline {
}
}
stage("Smoke Fp16/Bf16/Int8"){
when { expression { params.SMOKE_TESTS } }
when { expression { params.SMOKE_FP16_BF16_INT8 } }
parallel{
stage('Fp16 Hip Vega20 /opt/rocm') {
agent{ label rocmnode("vega20") }
Expand Down Expand Up @@ -557,7 +561,7 @@ pipeline {
agent{ label rocmnode("gfx908") }
steps{
script{
runDockerJob(flags: '-DMIOPEN_TEST_BFLOAT16=On -DMIOPEN_TEST_GFX908=On -DBUILD_DEV=On -DCMAKE_BUILD_TYPE=debug', prefixpath: '/opt/rocm', gpu_arch: "gfx908")
runDockerJob(flags: '-DMIOPEN_TEST_HALF=On -DMIOPEN_TEST_GFX908=On -DBUILD_DEV=On -DCMAKE_BUILD_TYPE=debug', prefixpath: '/opt/rocm', gpu_arch: "gfx908")
}
}
}
Expand Down
Loading

0 comments on commit b7c596f

Please sign in to comment.