Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Fontana authored and Pedro Fontana committed Apr 12, 2024
1 parent 2971934 commit f747bfd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/hyper_threading_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,22 @@ jobs:
name: hyper_threading_main_binary
path: ${{ github.workspace }}/artifacts/hyper_threading_main

- name: Download Binaries and Script
- name: Download hyper_threading_pr_binary
uses: actions/download-artifact@v4
with:
name: hyper_threading_pr_binary
path: ${{ github.workspace }}/artifacts/

- name: Download hyper_threading_workflow_script
uses: actions/download-artifact@v4
with:
name: hyper_threading_workflow_script
path: ${{ github.workspace }}/artifacts/

- name: Download hyper_threading_main_binary
uses: actions/download-artifact@v4
with:
name: hyper_threading_pr_binary
path: ${{ github.workspace }}/artifacts/


Expand All @@ -80,8 +93,8 @@ jobs:
- name: Run Benchmarks
run: |
ls -R ${{ github.workspace }}/artifacts/
chmod +x ${{ github.workspace }}/artifacts/hyper_threading_workflow_script/hyper-threading-workflow.sh
${{ github.workspace }}/artifacts/hyper_threading_workflow_script/hyper-threading-workflow.sh
chmod +x ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
sh ${{ github.workspace }}/artifacts/hyper-threading-workflow.sh
- name: Compare Results
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/hyper_threading/hyper-threading-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
thread_counts=(1 2 4 6 8 16 32)

# Define una lista con los nombres de los binarios
binaries=("hyper_threading_main_binary/hyper_threading_main" "hyper_threading_pr_binary/hyper_threading_pr")
binaries=("hyper_threading_main" "hyper_threading_pr_binary")

# Itera sobre la lista de thread_counts
for threads in "${thread_counts[@]}"; do
Expand Down

0 comments on commit f747bfd

Please sign in to comment.