MCPcopy Create free account

hub / github.com/NVIDIA/SOL-ExecBench / functions

Functions597 in github.com/NVIDIA/SOL-ExecBench

Methodtest_returns_false_when_verification_fails
Successful lgc+lmc but verify_clocks fails → unlock and return False.
tests/sol_execbench/core/bench/test_clock_lock.py:236
Methodtest_returns_list_of_rep_length
bench_time_with_cuda_events returns exactly `rep` measurements.
tests/sol_execbench/core/bench/test_timing.py:404
Methodtest_returns_list_of_rep_length
bench_gpu_time_with_cupti returns exactly `rep` measurements.
tests/sol_execbench/core/bench/test_timing.py:613
Methodtest_returns_true_when_env_set
(self, monkeypatch)
tests/sol_execbench/core/bench/test_clock_lock.py:361
Methodtest_returns_true_when_sudo_succeeds
(self)
tests/sol_execbench/core/bench/test_clock_lock.py:42
Functiontest_reward_hack_e2e
Evil solutions must produce REWARD_HACK traces with the expected log fragment.
tests/sol_execbench/test_e2e.py:265
Methodtest_rope_cos_in_range
(self)
tests/sol_execbench/core/bench/test_io.py:285
Methodtest_rope_sin_in_range
(self)
tests/sol_execbench/core/bench/test_io.py:293
Methodtest_rtol_dominates_for_large_reference
For large references, rtol term dominates tolerance.
tests/sol_execbench/core/bench/test_correctness.py:150
Methodtest_scalar_converted_to_tensor
(self)
tests/sol_execbench/core/bench/test_io.py:690
Methodtest_scalar_tensor_input
0-dim (scalar) tensors are handled correctly.
tests/sol_execbench/core/bench/test_io.py:612
Methodtest_scalar_tensors
0-d tensors work correctly.
tests/sol_execbench/core/bench/test_correctness.py:243
Methodtest_scalar_workload_input_returned_as_value
(self)
tests/sol_execbench/core/bench/test_io.py:735
Methodtest_scalars_passed_through
Non-tensor inputs (scalars) are returned unchanged.
tests/sol_execbench/core/bench/test_io.py:509
Methodtest_set_seed_different_seeds_differ
Different seeds produce different tensors.
tests/sol_execbench/core/bench/test_correctness.py:649
Methodtest_set_seed_from_benchmark_config
BenchmarkConfig.seed defaults to 200 and produces reproducible results.
tests/sol_execbench/core/bench/test_correctness.py:657
Methodtest_set_seed_reproducible_rand
torch.rand on GPU gives identical results after set_seed with same seed.
tests/sol_execbench/core/bench/test_correctness.py:633
Methodtest_set_seed_reproducible_randn
torch.randn on GPU gives identical results after set_seed with same seed.
tests/sol_execbench/core/bench/test_correctness.py:641
Methodtest_setup_called_every_iteration
ShiftingMemoryPoolAllocator is called once per warmup + timed iteration.
tests/sol_execbench/core/bench/test_timing.py:260
Methodtest_setup_called_every_iteration
ShiftingMemoryPoolAllocator is called once per warmup + timed iteration.
tests/sol_execbench/core/bench/test_timing.py:515
Methodtest_setup_gpu_work_excluded_from_timing
GPU work inside setup() must not appear in the timed region. Runs the same trivial kernel with two setups: 1. Cheap: ShiftingMemoryPo
tests/sol_execbench/core/bench/test_timing.py:220
Methodtest_setup_gpu_work_excluded_from_timing
GPU work inside setup() must not appear in the timed region. Runs the same trivial kernel with two setups: 1. Cheap: ShiftingMemoryPo
tests/sol_execbench/core/bench/test_timing.py:477
Methodtest_setup_overhead_scales_with_input_not_kernel
Varying allocator input size should not affect kernel time. Shifting 1KB vs 64MB in the allocator should produce the same measured ke
tests/sol_execbench/core/bench/test_timing.py:314
Methodtest_setup_overhead_scales_with_input_not_kernel
Varying allocator input size should not affect kernel time. Shifting 1KB vs 64MB in the allocator should produce the same measured ke
tests/sol_execbench/core/bench/test_timing.py:568
Methodtest_setup_vs_no_setup_same_kernel
ShiftingMemoryPoolAllocator introduces no significant timing bias. Both paths have torch.cuda.synchronize() before the start event (s
tests/sol_execbench/core/bench/test_timing.py:281
Methodtest_setup_vs_no_setup_same_kernel
ShiftingMemoryPoolAllocator introduces no significant timing bias. CUPTI measures GPU kernel time directly, so setup CPU/GPU work sho
tests/sol_execbench/core/bench/test_timing.py:536
Methodtest_shape_preserved
Returned tensors have the same shape as the original input.
tests/sol_execbench/core/bench/test_io.py:492
Methodtest_simulates_time_runnable_attack
End-to-end: mimics the kernel.py attack via sys.modules['__main__'].
tests/sol_execbench/core/bench/test_reward_hack.py:152
Methodtest_single_component_path
Relative path with a single component (just the filename).
tests/sol_execbench/core/bench/test_io.py:433
Methodtest_single_float_scalar
(self)
tests/sol_execbench/core/data/test_workload.py:35
Methodtest_single_gpu_outside_tolerance
GPU clock 100 MHz off → fails.
tests/sol_execbench/core/bench/test_clock_lock.py:285
Methodtest_single_gpu_within_tolerance
(self)
tests/sol_execbench/core/bench/test_clock_lock.py:274
Methodtest_single_gpu_within_tolerance_margin
Clock 30 MHz off but within default 50 MHz tolerance.
tests/sol_execbench/core/bench/test_clock_lock.py:279
Methodtest_single_int_scalar
(self)
tests/sol_execbench/core/data/test_workload.py:31
Methodtest_single_tensor_passthrough
(self)
tests/sol_execbench/core/bench/test_io.py:662
Methodtest_single_tensor_with_multiple_outputs_raises
(self)
tests/sol_execbench/core/bench/test_io.py:697
Methodtest_skips_non_json_lines
( self, tmp_path, definition, workloads, python_solution, config )
tests/sol_execbench/driver/test_problem_packager.py:326
Methodtest_skips_non_safetensors_inputs
Random inputs are not loaded by load_safetensors — result dict is empty.
tests/sol_execbench/core/bench/test_io.py:861
Methodtest_sleeps_before_verification
lock_clocks() sleeps VERIFY_DELAY_S before calling verify_clocks.
tests/sol_execbench/core/bench/test_clock_lock.py:251
Methodtest_snapshot_captures_present_names
(self)
tests/sol_execbench/core/bench/test_reward_hack.py:113
Methodtest_softmax_output_sums_to_one
(self)
tests/sol_execbench/core/bench/test_io.py:322
Methodtest_solution_json_written
( self, tmp_path, definition, workloads, python_solution, config )
tests/sol_execbench/driver/test_problem_packager.py:149
Methodtest_square_attention_mask
(self)
tests/sol_execbench/core/bench/test_io.py:166
Methodtest_ssm_decay_A_cumsum_monotonic
(self)
tests/sol_execbench/core/bench/test_io.py:313
Methodtest_ssm_decay_A_negative
(self)
tests/sol_execbench/core/bench/test_io.py:308
Methodtest_status_msg_with_extra_msg
Status message is prepended before extra_msg.
tests/sol_execbench/core/bench/test_make_eval_clock_warn.py:54
Methodtest_stream_hidden_kernel_not_near_zero
Stream-hidden large matmul must not report near-zero timing. This is the specific reward hack vector: launching a large matmul on a n
tests/sol_execbench/core/bench/test_timing.py:853
Methodtest_stream_hiding_with_wait_stream
wait_stream pattern (fools pipelined CUDA events) still reports accurate CUPTI timing.
tests/sol_execbench/core/bench/test_timing.py:828
Methodtest_subnormal_reference
Subnormal float reference values don't cause issues.
tests/sol_execbench/core/bench/test_correctness.py:230
Methodtest_succeeds_with_so_for_cpp
( self, tmp_path, definition, workloads, cuda_solution, config )
tests/sol_execbench/driver/test_problem_packager.py:265
Methodtest_suffix_with_binary_description
(self)
tests/sol_execbench/core/bench/test_io.py:191
Methodtest_suffix_without_description
(self)
tests/sol_execbench/core/bench/test_io.py:194
Methodtest_template_has_expected_imports
(self)
tests/sol_execbench/driver/test_build_ext.py:128
Functiontest_thread_injection_detected
Kernel that spawns a daemon thread inside run() → REWARD_HACK.
tests/sol_execbench/driver/test_eval_driver.py:205
Methodtest_time_runnable_eval_driver_pattern
time_runnable creates ShiftingMemoryPoolAllocator internally. Replicates the eval_driver calling convention: time_runnable(user_f
tests/sol_execbench/core/bench/test_timing.py:359
Methodtest_time_runnable_large_vs_small
time_runnable correctly distinguishes fast and slow kernels.
tests/sol_execbench/core/bench/test_timing.py:375
Functiontest_torch_compile_no_reward_hack
@torch.compile must not trigger thread injection false positive. TorchInductor spawns background threads on the first call (JIT compilation).
tests/sol_execbench/driver/test_eval_driver.py:227
Methodtest_tries_second_root_when_first_misses
(self, tmp_path)
tests/sol_execbench/core/bench/test_io.py:823
Functiontest_triton
()
tests/docker/dependencies/test_triton.py:17
Functiontest_triton_jit_reference
Reference with @triton.jit must not crash the eval driver. Regression test: exec(compile(code, '<reference>', 'exec')) causes triton.JITFunct
tests/sol_execbench/driver/test_eval_driver.py:287
Methodtest_trivial_kernel_low_variance
Repeated trivial kernel timings should cluster tightly.
tests/sol_execbench/core/bench/test_timing.py:171
Methodtest_trivial_kernel_low_variance
Repeated trivial kernel timings should cluster tightly.
tests/sol_execbench/core/bench/test_timing.py:431
Methodtest_trivial_kernel_timing_floor
Scalar add_(0) has sub-millisecond dispatch overhead.
tests/sol_execbench/core/bench/test_timing.py:164
Methodtest_trivial_kernel_timing_floor
Scalar add_(0) has sub-millisecond dispatch overhead.
tests/sol_execbench/core/bench/test_timing.py:424
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:122
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:144
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:157
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:205
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:216
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:225
Methodtest_true_cases
(self, name)
tests/sol_execbench/core/bench/test_io.py:236
Methodtest_tuple_maps_to_output_names
(self)
tests/sol_execbench/core/bench/test_io.py:679
Methodtest_tuple_wrong_length_raises
(self)
tests/sol_execbench/core/bench/test_io.py:706
Methodtest_undefined_axis_in_input_shape_raises
(self)
tests/sol_execbench/core/data/test_definition.py:98
Methodtest_unique_data_ptr_per_call
Each call to get_unique_args returns tensors with distinct data_ptr.
tests/sol_execbench/core/bench/test_io.py:447
Methodtest_unknown_device_returns_none
(self)
tests/sol_execbench/core/bench/test_clock_lock.py:398
Methodtest_unsupported_dtype
(self)
tests/sol_execbench/core/bench/test_io.py:89
Methodtest_unsupported_dtype_raises
(self)
tests/sol_execbench/core/data/test_dtypes.py:53
Methodtest_unsupported_dtype_raises
(self)
tests/sol_execbench/core/data/test_dtypes.py:85
Methodtest_valid_custom_inputs_entrypoint_accepted
(self)
tests/sol_execbench/core/data/test_definition.py:124
Methodtest_valid_dtype
(self, dtype_str, expected)
tests/sol_execbench/core/data/test_dtypes.py:50
Methodtest_valid_dtype
(self, dtype_str, expected)
tests/sol_execbench/core/data/test_dtypes.py:82
Methodtest_var_axis_passed_through
(self)
tests/sol_execbench/core/data/test_definition.py:43
Methodtest_var_overrides_would_be_from_workload
Different var values produce different resolved dicts.
tests/sol_execbench/core/data/test_definition.py:79
Methodtest_variance_decreases_with_compute_intensity
Larger matmuls should have tighter relative variance than small ones. Compute-dominated kernels (large matmul) produce stable timings because
tests/sol_execbench/core/bench/test_timing.py:753
Methodtest_verbose_enabled
(self, tmp_path)
tests/sol_execbench/driver/test_build_ext.py:279
Methodtest_weight_matrix_xavier_scale
(self)
tests/sol_execbench/core/bench/test_io.py:330
Methodtest_within_tolerance
(self)
tests/sol_execbench/core/bench/test_correctness.py:53
Methodtest_workload_jsonl_written
( self, tmp_path, definition, workloads, python_solution, config )
tests/sol_execbench/driver/test_problem_packager.py:140
Methodtest_zero_matched_ratio_always_passes
With required_matched_ratio=0, even all-wrong passes.
tests/sol_execbench/core/bench/test_correctness.py:218
Methodtest_zeros_map_to_zero_code
(self)
tests/sol_execbench/core/bench/test_io.py:105
Functiontmp_cache_dir
Isolated temporary cache directory for each test. Sets SOLEXECBENCH_CACHE_PATH so every builder writes build artifacts into a fresh temp dire
tests/conftest.py:77
Methodtorch_input_dtypes
Get the torch data types of the input tensors. Returns ------- list[torch.dtype] List of torch data types of the
src/sol_execbench/core/data/definition.py:556
Methodtorch_output_dtypes
Get the torch data types of the output tensors. Returns ------- list[torch.dtype] List of torch data types of the
src/sol_execbench/core/data/definition.py:567
Methodvar_axes
Get all variable axis names. Returns ------- list[str] List of all variable axis names defined in this Definition
src/sol_execbench/core/data/definition.py:359
Functionvector_add
(a, b, c, tile_size: ct.Constant[int])
tests/docker/dependencies/test_cutile.py:27
Functionworkloads
()
tests/sol_execbench/driver/test_problem_packager.py:92
← previous501–597 of 597, ranked by callers