We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Part a:
~/asst2/part_a$ python3 ../tests/run_test_harness.py runtasks_ref Linux aarch64 ================================================================================ Running task system grading harness... (11 total tests) - Detected CPU with 16 execution contexts - Task system configured to use at most 16 threads ================================================================================ ================================================================================ Executing test: super_super_light... Reference binary: ./runtasks_ref_linux_arm Results for: super_super_light STUDENT REFERENCE PERF? [Serial] 10.496 10.258 1.02 (OK) [Parallel + Always Spawn] 136.899 136.145 1.01 (OK) [Parallel + Thread Pool + Spin] 24.877 22.641 1.10 (OK) [Parallel + Thread Pool + Sleep] 17.289 9.85 1.76 (NOT OK) ================================================================================ Executing test: super_light... Reference binary: ./runtasks_ref_linux_arm Results for: super_light STUDENT REFERENCE PERF? [Serial] 87.999 87.978 1.00 (OK) [Parallel + Always Spawn] 135.919 137.865 0.99 (OK) [Parallel + Thread Pool + Spin] 21.997 21.322 1.03 (OK) [Parallel + Thread Pool + Sleep] 14.906 16.362 0.91 (OK) ================================================================================ Executing test: ping_pong_equal... Reference binary: ./runtasks_ref_linux_arm Results for: ping_pong_equal STUDENT REFERENCE PERF? [Serial] 1408.823 1408.727 1.00 (OK) [Parallel + Always Spawn] 188.237 188.271 1.00 (OK) [Parallel + Thread Pool + Spin] 106.697 126.752 0.84 (OK) [Parallel + Thread Pool + Sleep] 111.838 111.587 1.00 (OK) ================================================================================ Executing test: ping_pong_unequal... Reference binary: ./runtasks_ref_linux_arm Results for: ping_pong_unequal STUDENT REFERENCE PERF? [Serial] 1623.325 1622.454 1.00 (OK) [Parallel + Always Spawn] 200.877 200.715 1.00 (OK) [Parallel + Thread Pool + Spin] 119.841 128.333 0.93 (OK) [Parallel + Thread Pool + Sleep] 117.749 116.654 1.01 (OK) ================================================================================ Executing test: recursive_fibonacci... Reference binary: ./runtasks_ref_linux_arm Results for: recursive_fibonacci STUDENT REFERENCE PERF? [Serial] 1071.393 1072.431 1.00 (OK) [Parallel + Always Spawn] 75.214 75.35 1.00 (OK) [Parallel + Thread Pool + Spin] 68.774 74.498 0.92 (OK) [Parallel + Thread Pool + Sleep] 71.565 71.163 1.01 (OK) ================================================================================ Executing test: math_operations_in_tight_for_loop... Reference binary: ./runtasks_ref_linux_arm Results for: math_operations_in_tight_for_loop STUDENT REFERENCE PERF? [Serial] 540.21 540.169 1.00 (OK) [Parallel + Always Spawn] 687.31 685.443 1.00 (OK) [Parallel + Thread Pool + Spin] 114.535 122.477 0.94 (OK) [Parallel + Thread Pool + Sleep] 91.762 90.837 1.01 (OK) ================================================================================ Executing test: math_operations_in_tight_for_loop_fewer_tasks... Reference binary: ./runtasks_ref_linux_arm Results for: math_operations_in_tight_for_loop_fewer_tasks STUDENT REFERENCE PERF? [Serial] 540.267 539.524 1.00 (OK) [Parallel + Always Spawn] 691.51 689.508 1.00 (OK) [Parallel + Thread Pool + Spin] 132.914 124.357 1.07 (OK) [Parallel + Thread Pool + Sleep] 108.997 108.37 1.01 (OK) ================================================================================ Executing test: math_operations_in_tight_for_loop_fan_in... Reference binary: ./runtasks_ref_linux_arm Results for: math_operations_in_tight_for_loop_fan_in STUDENT REFERENCE PERF? [Serial] 277.296 277.154 1.00 (OK) [Parallel + Always Spawn] 88.751 88.568 1.00 (OK) [Parallel + Thread Pool + Spin] 30.064 35.382 0.85 (OK) [Parallel + Thread Pool + Sleep] 26.735 26.506 1.01 (OK) ================================================================================ Executing test: math_operations_in_tight_for_loop_reduction_tree... Reference binary: ./runtasks_ref_linux_arm Results for: math_operations_in_tight_for_loop_reduction_tree STUDENT REFERENCE PERF? [Serial] 276.664 276.689 1.00 (OK) [Parallel + Always Spawn] 36.518 36.077 1.01 (OK) [Parallel + Thread Pool + Spin] 20.436 23.541 0.87 (OK) [Parallel + Thread Pool + Sleep] 21.308 22.42 0.95 (OK) ================================================================================ Executing test: spin_between_run_calls... Reference binary: ./runtasks_ref_linux_arm Results for: spin_between_run_calls STUDENT REFERENCE PERF? [Serial] 385.708 385.498 1.00 (OK) [Parallel + Always Spawn] 193.822 193.71 1.00 (OK) [Parallel + Thread Pool + Spin] 193.223 193.064 1.00 (OK) [Parallel + Thread Pool + Sleep] 192.86 192.911 1.00 (OK) ================================================================================ Executing test: mandelbrot_chunked... Reference binary: ./runtasks_ref_linux_arm Results for: mandelbrot_chunked STUDENT REFERENCE PERF? [Serial] 410.961 411.221 1.00 (OK) [Parallel + Always Spawn] 26.099 26.103 1.00 (OK) [Parallel + Thread Pool + Spin] 26.293 28.927 0.91 (OK) [Parallel + Thread Pool + Sleep] 25.872 25.845 1.00 (OK) ================================================================================ Overall performance results [Serial] : All passed Perf [Parallel + Always Spawn] : All passed Perf [Parallel + Thread Pool + Spin] : All passed Perf [Parallel + Thread Pool + Sleep] : Perf did not pass all tests
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Part a:
The text was updated successfully, but these errors were encountered: