Skip to content

Commit

Permalink
Update deps and CTS (#734)
Browse files Browse the repository at this point in the history
As usual, not accepting regressions.

Fixes #321

Change-Id: Ia9d8940b0b598472e110ecc8a21b36c62ac1cf37
  • Loading branch information
kpet authored Nov 10, 2024
1 parent 99c68d1 commit 9fdc208
Show file tree
Hide file tree
Showing 12 changed files with 668 additions and 493 deletions.
2 changes: 1 addition & 1 deletion external/SPIRV-LLVM-Translator
2 changes: 1 addition & 1 deletion external/SPIRV-Tools
Submodule SPIRV-Tools updated 99 files
+1 −1 .github/workflows/autoroll.yml
+2 −2 .github/workflows/bazel.yml
+3 −3 .github/workflows/ios.yml
+1 −1 .github/workflows/release.yml
+3 −3 .github/workflows/scorecard.yml
+1 −1 .github/workflows/wasm.yml
+1 −2 Android.mk
+2 −2 BUILD.bazel
+20 −5 BUILD.gn
+14 −0 CHANGES
+0 −1 CMakeLists.txt
+3 −3 DEPS
+2 −0 README.md
+0 −79 include/spirv-tools/instrument.hpp
+6 −0 include/spirv-tools/libspirv.h
+0 −12 include/spirv-tools/optimizer.hpp
+1 −0 source/CMakeLists.txt
+5 −1 source/binary.cpp
+34 −10 source/opcode.cpp
+39 −1 source/operand.cpp
+0 −4 source/opt/CMakeLists.txt
+25 −2 source/opt/aggressive_dead_code_elim_pass.cpp
+83 −13 source/opt/copy_prop_arrays.cpp
+12 −0 source/opt/copy_prop_arrays.h
+15 −0 source/opt/eliminate_dead_members_pass.cpp
+29 −28 source/opt/folding_rules.cpp
+0 −484 source/opt/inst_debug_printf_pass.cpp
+0 −198 source/opt/inst_debug_printf_pass.h
+0 −803 source/opt/instrument_pass.cpp
+0 −326 source/opt/instrument_pass.h
+27 −1 source/opt/ir_context.cpp
+4 −3 source/opt/local_access_chain_convert_pass.cpp
+3 −2 source/opt/local_single_block_elim_pass.cpp
+3 −2 source/opt/local_single_store_elim_pass.cpp
+0 −13 source/opt/optimizer.cpp
+0 −1 source/opt/passes.h
+64 −3 source/opt/trim_capabilities_pass.cpp
+7 −2 source/opt/trim_capabilities_pass.h
+48 −0 source/opt/type_manager.cpp
+53 −1 source/opt/types.cpp
+53 −0 source/opt/types.h
+4 −0 source/table.h
+3 −1 source/text.cpp
+1 −0 source/val/validate.cpp
+3 −0 source/val/validate.h
+125 −3 source/val/validate_arithmetics.cpp
+18 −13 source/val/validate_cfg.cpp
+45 −8 source/val/validate_conversion.cpp
+1 −1 source/val/validate_decorations.cpp
+18 −12 source/val/validate_derivatives.cpp
+6 −4 source/val/validate_extensions.cpp
+82 −1 source/val/validate_function.cpp
+38 −27 source/val/validate_image.cpp
+6 −0 source/val/validate_instruction.cpp
+246 −2 source/val/validate_memory.cpp
+184 −0 source/val/validate_tensor_layout.cpp
+147 −0 source/val/validate_type.cpp
+17 −5 source/val/validation_state.cpp
+26 −4 source/val/validation_state.h
+3 −0 test/CMakeLists.txt
+10 −0 test/binary_to_text_test.cpp
+0 −1 test/diff/diff_test.cpp
+0 −1 test/diff/diff_test_utils.cpp
+2 −1 test/fuzz/CMakeLists.txt
+1 −1 test/fuzz/fuzz_test_util.cpp
+429 −0 test/hex_to_text_test.cpp
+0 −1 test/opt/CMakeLists.txt
+127 −0 test/opt/aggressive_dead_code_elim_test.cpp
+169 −0 test/opt/copy_prop_array_test.cpp
+189 −1 test/opt/fold_test.cpp
+0 −207 test/opt/inst_debug_printf_test.cpp
+151 −0 test/opt/trim_capabilities_pass_test.cpp
+6 −0 test/opt/type_manager_test.cpp
+1 −0 test/reduce/CMakeLists.txt
+247 −8 test/val/val_arithmetics_test.cpp
+86 −0 test/val/val_cfg_test.cpp
+188 −2 test/val/val_conversion_test.cpp
+73 −0 test/val/val_decoration_test.cpp
+5 −4 test/val/val_derivatives_test.cpp
+52 −27 test/val/val_image_test.cpp
+785 −0 test/val/val_memory_test.cpp
+71 −0 test/val/val_misc_test.cpp
+11 −8 tools/CMakeLists.txt
+1 −1 tools/as/as.cpp
+1 −1 tools/cfg/cfg.cpp
+2 −2 tools/diff/diff.cpp
+5 −1 tools/dis/dis.cpp
+4 −5 tools/fuzz/fuzz.cpp
+476 −0 tools/io.cpp
+32 −153 tools/io.h
+1 −1 tools/link/linker.cpp
+1 −1 tools/opt/opt.cpp
+1 −1 tools/reduce/reduce.cpp
+1 −1 tools/sva/package.json
+4 −4 tools/sva/yarn.lock
+1 −1 tools/val/val.cpp
+2 −1 utils/check_copyright.py
+64 −9 utils/generate_grammar_tables.py
+6 −0 utils/generate_vim_syntax.py
191 changes: 110 additions & 81 deletions tests/conformance/results-amd-7950x-physical.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"system-info": {
"apiVersion": 4206870,
"apiVersion": 4206881,
"deviceID": 5710,
"deviceName": "AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO)",
"deviceType": "VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU",
"driverID": "VK_DRIVER_ID_MESA_RADV",
"driverInfo": "Mesa 24.1.0",
"driverInfo": "Mesa 24.2.6",
"driverName": "radv",
"driverVersion": 100667392
"driverVersion": 100671494
},
"test-results": {
"API": {
Expand All @@ -31,10 +31,14 @@
"consistency_prog_ctor_dtor": "pass",
"consistency_progvar": "pass",
"consistency_read_write_images": "pass",
"consistency_requirements_fp16": "pass",
"consistency_requirements_fp64": "fail",
"consistency_subgroups": "pass",
"consistency_svm": "pass",
"context_destructor_callback": "pass",
"create_context_from_type": "fail",
"create_context_from_type_device_type_all": "fail",
"create_context_from_type_device_type_default": "fail",
"create_kernels_in_program": "pass",
"enqueue_task": "pass",
"execute_kernel_local_sizes": "fail",
Expand All @@ -60,6 +64,7 @@
"kernel_arg_multi_setup_random": "fail",
"kernel_attributes": "pass",
"kernel_global_constant": "fail",
"kernel_local_memory_size": "fail",
"kernel_private_memory_size": "pass",
"kernel_required_group_size": "pass",
"load_single_kernel": "pass",
Expand Down Expand Up @@ -97,6 +102,9 @@
"min_max_work_items_sizes": "pass",
"min_max_write_image_args": "fail",
"native_kernel": "pass",
"negative_create_command_queue": "pass",
"negative_create_command_queue_with_properties": "pass",
"negative_create_command_queue_with_properties_khr": "pass",
"negative_get_platform_ids": "pass",
"negative_get_platform_info": "pass",
"pipe_properties_queries": "skip",
Expand All @@ -113,6 +121,7 @@
"retain_mem_object_single": "pass",
"retain_queue_multiple": "pass",
"retain_queue_single": "pass",
"set_command_queue_property": "skip",
"set_kernel_arg_by_index": "fail",
"set_kernel_arg_constant": "fail",
"set_kernel_arg_struct_array": "fail",
Expand Down Expand Up @@ -438,6 +447,7 @@
"execute_after_simple_library_with_link": "pass",
"execute_after_two_file_link": "pass",
"features_macro": "pass",
"features_macro_coupling": "pass",
"get_program_build_info": "pass",
"get_program_info": "pass",
"get_program_source": "pass",
Expand Down Expand Up @@ -633,6 +643,8 @@
"function_get_fence": "skip",
"function_to_address_space": "skip",
"generic_advanced_casting": "skip",
"generic_atomics_invariant": "skip",
"generic_atomics_variant": "skip",
"generic_ptr_to_host_mem": "skip",
"generic_ptr_to_host_mem_svm": "skip",
"generic_variable_const": "skip",
Expand Down Expand Up @@ -923,6 +935,8 @@
"cospi": "pass",
"divide": "pass",
"divide_cr": "pass",
"erf": "pass",
"erfc": "fail",
"exp": "pass",
"exp10": "pass",
"exp2": "pass",
Expand Down Expand Up @@ -1120,78 +1134,25 @@
"duration": "00:00:00.994122",
"has_results": true,
"results": {
"address_space_0": "pass",
"address_space_1": "pass",
"address_space_2": "pass",
"address_space_3": "pass",
"address_space_4": "pass",
"address_space": "pass",
"buffer_size": "pass",
"char_0": "pass",
"char_1": "pass",
"char_2": "pass",
"float_0": "pass",
"float_1": "pass",
"float_10": "pass",
"float_11": "pass",
"float_12": "pass",
"float_13": "pass",
"float_14": "pass",
"float_15": "pass",
"float_16": "pass",
"float_17": "pass",
"float_2": "pass",
"float_3": "pass",
"float_4": "pass",
"float_5": "pass",
"float_6": "pass",
"float_7": "pass",
"float_8": "pass",
"float_9": "pass",
"float_limits_0": "pass",
"float_limits_1": "pass",
"float_limits_2": "pass",
"half_0": "pass",
"half_1": "pass",
"half_2": "pass",
"half_3": "pass",
"half_4": "pass",
"half_5": "pass",
"half_6": "pass",
"half_7": "pass",
"half_8": "pass",
"half_9": "pass",
"half_limits_0": "pass",
"half_limits_1": "pass",
"half_limits_2": "pass",
"hexadecimal_0": "pass",
"hexadecimal_1": "pass",
"hexadecimal_2": "pass",
"hexadecimal_3": "pass",
"hexadecimal_4": "pass",
"int_0": "pass",
"int_1": "pass",
"int_2": "pass",
"int_3": "pass",
"int_4": "pass",
"int_5": "pass",
"int_6": "pass",
"int_7": "pass",
"int_8": "pass",
"octal_0": "pass",
"octal_1": "pass",
"octal_2": "pass",
"octal_3": "pass",
"string_0": "pass",
"string_1": "pass",
"string_2": "pass",
"unsigned_0": "pass",
"unsigned_1": "pass",
"vector_0": "pass",
"vector_1": "pass",
"vector_2": "pass",
"vector_3": "pass",
"vector_4": "pass",
"vector_5": "pass"
"char": "pass",
"double": "skip",
"double_limits": "skip",
"float": "pass",
"float_limits": "pass",
"format_string": "pass",
"half": "pass",
"half_limits": "pass",
"hexadecimal": "pass",
"int": "pass",
"length_specifier": "pass",
"long": "pass",
"mixed_format_random": "pass",
"octal": "pass",
"string": "pass",
"unsigned": "pass",
"vector": "pass"
},
"retcode": 0
},
Expand Down Expand Up @@ -1274,13 +1235,13 @@
"decorate_cpacked": "pass",
"decorate_fp_rounding_mode_rte_double_long": "pass",
"decorate_fp_rounding_mode_rte_float_int": "pass",
"decorate_fp_rounding_mode_rte_half_short": "fail",
"decorate_fp_rounding_mode_rte_half_short": "pass",
"decorate_fp_rounding_mode_rtn_double_long": "pass",
"decorate_fp_rounding_mode_rtn_float_int": "pass",
"decorate_fp_rounding_mode_rtn_half_short": "fail",
"decorate_fp_rounding_mode_rtn_half_short": "pass",
"decorate_fp_rounding_mode_rtp_double_long": "pass",
"decorate_fp_rounding_mode_rtp_float_int": "pass",
"decorate_fp_rounding_mode_rtp_half_short": "fail",
"decorate_fp_rounding_mode_rtp_half_short": "pass",
"decorate_fp_rounding_mode_rtz_double_long": "pass",
"decorate_fp_rounding_mode_rtz_float_int": "pass",
"decorate_fp_rounding_mode_rtz_half_short": "pass",
Expand All @@ -1291,8 +1252,8 @@
"decorate_saturated_conversion_float_to_short": "pass",
"decorate_saturated_conversion_float_to_uchar": "pass",
"decorate_saturated_conversion_float_to_ushort": "pass",
"decorate_saturated_conversion_half_to_char": "fail",
"decorate_saturated_conversion_half_to_uchar": "fail",
"decorate_saturated_conversion_half_to_char": "pass",
"decorate_saturated_conversion_half_to_uchar": "pass",
"ext_cl_khr_spirv_no_integer_wrap_decoration_fadd_int": "pass",
"ext_cl_khr_spirv_no_integer_wrap_decoration_fadd_uint": "pass",
"ext_cl_khr_spirv_no_integer_wrap_decoration_fmul_int": "pass",
Expand Down Expand Up @@ -1468,7 +1429,26 @@
"op_vector_long2_insert": "pass",
"op_vector_times_scalar_double": "pass",
"op_vector_times_scalar_float": "pass",
"op_vector_times_scalar_half": "pass"
"op_vector_times_scalar_half": "pass",
"spirv14_image_operand_signextend": "skip",
"spirv14_image_operand_zeroextend": "skip",
"spirv14_loop_control_iterationmultiple": "skip",
"spirv14_loop_control_maxiterations": "skip",
"spirv14_loop_control_miniterations": "skip",
"spirv14_loop_control_partialcount": "skip",
"spirv14_loop_control_peelcount": "skip",
"spirv14_no_integer_wrap_decoration_fadd_int": "skip",
"spirv14_no_integer_wrap_decoration_fadd_uint": "skip",
"spirv14_no_integer_wrap_decoration_fmul_int": "skip",
"spirv14_no_integer_wrap_decoration_fmul_uint": "skip",
"spirv14_no_integer_wrap_decoration_fnegate_int": "skip",
"spirv14_no_integer_wrap_decoration_fshiftleft_int": "skip",
"spirv14_no_integer_wrap_decoration_fshiftleft_uint": "skip",
"spirv14_no_integer_wrap_decoration_fsub_int": "skip",
"spirv14_no_integer_wrap_decoration_fsub_uint": "skip",
"spirv14_ptrops": "skip",
"spirv14_usersemantic_decoratestring": "skip",
"spirv14_usersemantic_memberdecoratestring": "skip"
},
"retcode": 1
},
Expand Down Expand Up @@ -1652,6 +1632,30 @@
"negative_command_buffer_barrier_mutable_handle_not_null": "skip",
"negative_command_buffer_barrier_not_null_queue": "skip",
"negative_command_buffer_barrier_sync_points_null_or_num_zero": "skip",
"negative_command_buffer_command_copy_buffer_different_contexts": "skip",
"negative_command_buffer_command_copy_buffer_finalized_command_buffer": "skip",
"negative_command_buffer_command_copy_buffer_invalid_command_buffer": "skip",
"negative_command_buffer_command_copy_buffer_mutable_handle_not_null": "skip",
"negative_command_buffer_command_copy_buffer_queue_not_null": "skip",
"negative_command_buffer_command_copy_buffer_sync_points_null_or_num_zero": "skip",
"negative_command_buffer_command_copy_image_different_contexts": "skip",
"negative_command_buffer_command_copy_image_finalized_command_buffer": "skip",
"negative_command_buffer_command_copy_image_invalid_command_buffer": "skip",
"negative_command_buffer_command_copy_image_mutable_handle_not_null": "skip",
"negative_command_buffer_command_copy_image_queue_not_null": "skip",
"negative_command_buffer_command_copy_image_sync_points_null_or_num_zero": "skip",
"negative_command_buffer_command_fill_buffer_context_not_same": "skip",
"negative_command_buffer_command_fill_buffer_finalized_command_buffer": "skip",
"negative_command_buffer_command_fill_buffer_invalid_command_buffer": "skip",
"negative_command_buffer_command_fill_buffer_mutable_handle_not_null": "skip",
"negative_command_buffer_command_fill_buffer_queue_not_null": "skip",
"negative_command_buffer_command_fill_buffer_sync_points_null_or_num_zero": "skip",
"negative_command_buffer_command_fill_image_context_not_same": "skip",
"negative_command_buffer_command_fill_image_finalized_command_buffer": "skip",
"negative_command_buffer_command_fill_image_invalid_command_buffer": "skip",
"negative_command_buffer_command_fill_image_mutable_handle_not_null": "skip",
"negative_command_buffer_command_fill_image_queue_not_null": "skip",
"negative_command_buffer_command_fill_image_sync_points_null_or_num_zero": "skip",
"negative_command_buffer_command_svm_finalized_command_buffer": "skip",
"negative_command_buffer_command_svm_invalid_command_buffer": "skip",
"negative_command_buffer_command_svm_mutable_handle_not_null": "skip",
Expand Down Expand Up @@ -1723,10 +1727,35 @@
"results": {
"semaphores_cross_queues_io": "skip",
"semaphores_cross_queues_ooo": "skip",
"semaphores_device_list_queries": "skip",
"semaphores_import_export_fd": "skip",
"semaphores_multi_device_context_queries": "skip",
"semaphores_multi_signal": "skip",
"semaphores_multi_wait": "skip",
"semaphores_queries": "skip",
"semaphores_negative_create_import_invalid_device": "skip",
"semaphores_negative_create_invalid_context": "skip",
"semaphores_negative_create_invalid_device": "skip",
"semaphores_negative_create_invalid_operation": "skip",
"semaphores_negative_create_invalid_property": "skip",
"semaphores_negative_create_invalid_value": "skip",
"semaphores_negative_create_multi_device_property": "skip",
"semaphores_negative_get_info_invalid_semaphore": "skip",
"semaphores_negative_get_info_invalid_value": "skip",
"semaphores_negative_release": "skip",
"semaphores_negative_retain": "skip",
"semaphores_negative_signal_invalid_command_queue": "skip",
"semaphores_negative_signal_invalid_context": "skip",
"semaphores_negative_signal_invalid_event_status": "skip",
"semaphores_negative_signal_invalid_event_wait_list": "skip",
"semaphores_negative_signal_invalid_semaphore": "skip",
"semaphores_negative_signal_invalid_value": "skip",
"semaphores_negative_wait_invalid_command_queue": "skip",
"semaphores_negative_wait_invalid_context": "skip",
"semaphores_negative_wait_invalid_event_status": "skip",
"semaphores_negative_wait_invalid_event_wait_list": "skip",
"semaphores_negative_wait_invalid_semaphore": "skip",
"semaphores_negative_wait_invalid_value": "skip",
"semaphores_no_device_list_queries": "skip",
"semaphores_reuse": "skip",
"semaphores_simple_1": "skip",
"semaphores_simple_2": "skip"
Expand Down
Loading

0 comments on commit 9fdc208

Please sign in to comment.