Skip to content

Commit

Permalink
Fix --yaml flag for hipblas-bench and hipblas-test (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
daineAMD committed Sep 15, 2023
1 parent c803db2 commit 1f12b16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .jenkins/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ def runTestCommand (platform, project)
"""

platform.runCommand(this, v2TestCommand)

def yamlTestCommand = """#!/usr/bin/env bash
set -x
cd ${project.paths.project_build_prefix}/build/release/clients/staging
${sudo} LD_LIBRARY_PATH=/opt/rocm/lib GTEST_LISTENER=NO_PASS_LINE_IN_LOG ./hipblas-test --gtest_output=xml --gtest_color=yes --yaml hipblas_smoke.yaml
"""
platform.runCommand(this, yamlTestCommand)
junit "${project.paths.project_build_prefix}/build/release/clients/staging/*.xml"
}

Expand Down
2 changes: 1 addition & 1 deletion clients/common/hipblas_gentest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
"""Copyright (C) 2018-2023 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 2 additions & 0 deletions clients/include/hipblas_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ Arguments:
- batch_count: int
- fortran: c_bool
- inplace: c_bool
- with_flags: c_bool
- norm_check: int
- unit_check: int
- timing: int
Expand Down Expand Up @@ -458,6 +459,7 @@ Defaults:
batch_count: -1
fortran: false
inplace: false
with_flags: false
norm_check: 0
unit_check: 1
timing: 0
Expand Down

0 comments on commit 1f12b16

Please sign in to comment.