Skip to content

[HIP] Increase blender timeout #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions External/HIP/workload/blender/test_blender.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ render() {
echo "Render $input"

blender_output=$(mktemp)
timeout 300 $blender_dir/blender -b $input -F PNG -o ${output}### -f $frame $blender_options 2>&1 | tee $blender_output
timeout 600 $blender_dir/blender -b $input -F PNG -o ${output}### -f $frame $blender_options 2>&1 | tee $blender_output
blender_return_code=${PIPESTATUS[0]}

average_time=$(grep -P "^\s*Path Tracing\s+\d+\.\d+\s+\d+\.\d+" $blender_output | awk '{print $4}')

log_kernel_compilation_time $blender_output

compare_output=$(mktemp)
timeout 300 python3 compare_image.py --image $scene_dir/out/${out_file_full} --ref $scene_dir/ref/${out_file_full} 2>&1 | tee $compare_output
timeout 600 python3 compare_image.py --image $scene_dir/out/${out_file_full} --ref $scene_dir/ref/${out_file_full} 2>&1 | tee $compare_output
compare_return_code=${PIPESTATUS[0]}

ssim=$(grep "SSIM Index:" $compare_output | awk '{print $3}')
mse=$(grep "MSE Value:" $compare_output | awk '{print $3}')

previous_average=""
percentage_difference=""
perf_regress=0
Expand Down