You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# When we say "parallel," we mean two dimensions of parallelization:
82
82
# 1. Sharding verification across multiple workers. The Kani workflow that calls this script defines WORKER_INDEX and WORKER_TOTAL for this purpose:
83
83
# we shard verification across WORKER_TOTAL workers, where each worker has a unique WORKER_INDEX that it uses to derive its share of ALL_HARNESSES to verify.
84
-
# 2. Within a single worker, we parallelize verification between multiple cores by invoking kani with -j VERIFICATION_THREAD_COUNT.
85
-
# For now, VERIFICATION_THREAD_COUNT=4 since the Kani workflow runs on standard Github runners, which have 3-4 cores.
86
-
# TODO: If we move to larger runners, we should increase this number.
84
+
# 2. Within a single worker, we parallelize verification between multiple cores by invoking kani with -j.
87
85
88
86
# Array of all of the harnesses in the repository, set in get_harnesses()
89
87
declare -a ALL_HARNESSES
90
88
# Length of ALL_HARNESSES, set in get_harnesses()
91
89
declare -i HARNESS_COUNT
92
-
# Number of threads to spawn within a single worker to run Kani.
0 commit comments