Skip to content

Commit

Permalink
[skip ci] Add clang-format to CI (#15489)
Browse files Browse the repository at this point in the history
  • Loading branch information
blozano-tt authored Nov 27, 2024
1 parent 236622e commit 32eee4e
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 5 deletions.
133 changes: 133 additions & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
tests/tt_eager/ops/ccl/test_ccl_reduce_scatter_host_helpers.cpp
tests/tt_metal/distributed/test_distributed.cpp
tests/tt_metal/tt_metal/common/device_fixture.hpp
tests/tt_metal/tt_metal/eth/test_erisc_app_direct_send.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/kernels/traffic_gen_rx.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/kernels/traffic_gen_tx.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_bi_tunnel.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_common.hpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_mux_demux.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_mux_demux_2level.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_tunnel_1cq.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_tunnel_2cq.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_tx_rx.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_uni_tunnel.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_uni_tunnel_single_chip.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_vc_mux_demux.cpp
tests/tt_metal/tt_metal/perf_microbenchmark/routing/test_vc_uni_tunnel.cpp
tests/tt_metal/tt_metal/test_compile_sets_kernel_binaries.cpp
tests/ttnn/unit_tests/gtests/ccl/kernels/fabric_erisc_datamover_sender_worker_sender.cpp
tests/ttnn/unit_tests/gtests/ccl/kernels/fabric_worker_sender_multi_input.cpp
tests/ttnn/unit_tests/gtests/ccl/kernels/test_kernels.common.hpp
tests/ttnn/unit_tests/gtests/ccl/test_fabric_erisc_data_mover_loopback_with_workers.cpp
tests/ttnn/unit_tests/gtests/test_graph_basic.cpp
tt_metal/distributed/mesh_device.cpp
tt_metal/hw/ckernels/blackhole/metal/llk_api/llk_unpack_tilize_api.h
tt_metal/impl/buffers/buffer.cpp
tt_metal/impl/buffers/buffer.hpp
tt_metal/impl/device/device.cpp
tt_metal/impl/device/device.hpp
tt_metal/impl/dispatch/arch.cpp
tt_metal/impl/dispatch/arch.hpp
tt_metal/impl/dispatch/command_queue.cpp
tt_metal/impl/dispatch/command_queue.hpp
tt_metal/impl/dispatch/dispatch_core_manager.hpp
tt_metal/impl/dispatch/dispatch_kernels.cpp
tt_metal/impl/dispatch/dispatch_kernels.hpp
tt_metal/impl/dispatch/kernels/eth_tunneler.cpp
tt_metal/impl/dispatch/kernels/packet_demux.cpp
tt_metal/impl/dispatch/kernels/packet_mux.cpp
tt_metal/impl/dispatch/kernels/packet_queue.hpp
tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp
tt_metal/impl/dispatch/kernels/vc_eth_tunneler.cpp
tt_metal/impl/dispatch/kernels/vc_packet_router.cpp
tt_metal/impl/kernels/kernel.cpp
tt_metal/impl/kernels/kernel.hpp
tt_metal/impl/program/program.cpp
tt_metal/impl/program/program.hpp
tt_metal/jit_build/genfiles.cpp
tt_metal/jit_build/genfiles.hpp
tt_metal/llrt/llrt.cpp
tt_metal/llrt/llrt.hpp
tt_metal/llrt/rtoptions.cpp
tt_metal/llrt/rtoptions.hpp
tt_metal/llrt/tt_cluster.cpp
tt_metal/llrt/tt_cluster.hpp
tt_metal/llrt/tt_memory.h
tt_metal/tt_metal.cpp
ttnn/cpp/pybind11/tensor.cpp
ttnn/cpp/ttnn/device_operation.hpp
ttnn/cpp/ttnn/graph/graph_processor.cpp
ttnn/cpp/ttnn/graph/graph_processor.hpp
ttnn/cpp/ttnn/operations/bernoulli/device/bernoulli_device_operation.cpp
ttnn/cpp/ttnn/operations/bernoulli/device/bernoulli_device_operation.hpp
ttnn/cpp/ttnn/operations/ccl/all_gather/all_gather.cpp
ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp
ttnn/cpp/ttnn/operations/ccl/all_gather/device/kernels/dataflow/worker_ring_gather_utils.hpp
ttnn/cpp/ttnn/operations/ccl/all_gather_v2/device/all_gather_op.cpp
ttnn/cpp/ttnn/operations/ccl/all_gather_v2/device/all_gather_op.hpp
ttnn/cpp/ttnn/operations/ccl/all_gather_v2/device/multi_core/all_gather_op_multi_core_new.cpp
ttnn/cpp/ttnn/operations/ccl/ccl_common.cpp
ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp
ttnn/cpp/ttnn/operations/ccl/common/host/ccl_worker_builder.cpp
ttnn/cpp/ttnn/operations/ccl/common/host/ccl_worker_builder.hpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/ccl_send_reader.cpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/ccl_send_reader_two_input.cpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/ccl_send_utils.hpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/ccl_send_writer.cpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/ccl_wait_completion.cpp
ttnn/cpp/ttnn/operations/ccl/common/kernels/command_processor.hpp
ttnn/cpp/ttnn/operations/ccl/common/types/ccl_types.hpp
ttnn/cpp/ttnn/operations/ccl/common/uops/ccl_command.hpp
ttnn/cpp/ttnn/operations/ccl/common/uops/ccl_command_device.hpp
ttnn/cpp/ttnn/operations/ccl/common/uops/ccl_host_commands.cpp
ttnn/cpp/ttnn/operations/ccl/common/uops/ccl_host_commands.hpp
ttnn/cpp/ttnn/operations/ccl/erisc_datamover_builder.cpp
ttnn/cpp/ttnn/operations/ccl/erisc_datamover_builder.hpp
ttnn/cpp/ttnn/operations/ccl/kernel_common/worker_edm_utils.hpp
ttnn/cpp/ttnn/operations/ccl/kernels/edm_fabric/edm_fabric_worker_adapters.hpp
ttnn/cpp/ttnn/operations/ccl/kernels/edm_fabric/fabric_edm_packet_header.hpp
ttnn/cpp/ttnn/operations/ccl/kernels/edm_fabric/fabric_edm_packet_transmission.hpp
ttnn/cpp/ttnn/operations/ccl/kernels/edm_fabric/fabric_erisc_datamover.cpp
ttnn/cpp/ttnn/operations/ccl/kernels/edm_fabric/fabric_erisc_datamover_channels.hpp
ttnn/cpp/ttnn/operations/ccl/reduce_scatter/host/reduce_scatter_worker_builder.cpp
ttnn/cpp/ttnn/operations/ccl/reduce_scatter/host/reduce_scatter_worker_builder.hpp
ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp
ttnn/cpp/ttnn/operations/ccl/shared_with_host/sharded_tensor_addr_gen.hpp
ttnn/cpp/ttnn/operations/conv/conv2d/conv2d.cpp
ttnn/cpp/ttnn/operations/conv/conv2d/conv2d.hpp
ttnn/cpp/ttnn/operations/conv/conv2d/conv2d_pybind.cpp
ttnn/cpp/ttnn/operations/conv/conv2d/conv2d_utils.cpp
ttnn/cpp/ttnn/operations/conv/conv2d/conv2d_utils.hpp
ttnn/cpp/ttnn/operations/conv/conv2d/device/conv2d_op.cpp
ttnn/cpp/ttnn/operations/conv/conv2d/device/conv2d_op.hpp
ttnn/cpp/ttnn/operations/conv/conv2d/prepare_conv2d_weights.cpp
ttnn/cpp/ttnn/operations/conv/conv2d/prepare_conv2d_weights.hpp
ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d.cpp
ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d.hpp
ttnn/cpp/ttnn/operations/conv/conv_transpose2d/conv_transpose2d_pybind.cpp
ttnn/cpp/ttnn/operations/data_movement/sharded/device/kernels/dataflow/reader_unary_stick_layout_sharded_blocks_interleaved_start_id.cpp
ttnn/cpp/ttnn/operations/data_movement/sharded/interleaved_to_sharded/device/interleaved_to_sharded_op.cpp
ttnn/cpp/ttnn/operations/data_movement/sharded/interleaved_to_sharded/device/interleaved_to_sharded_program_factory.cpp
ttnn/cpp/ttnn/operations/data_movement/sharded/interleaved_to_sharded/device/interleaved_to_sharded_program_factory.hpp
ttnn/cpp/ttnn/operations/data_movement/sharded/sharded_to_interleaved/device/sharded_to_interleaved_program_factory.cpp
ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.cpp
ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.hpp
ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_device_operation.cpp
ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_device_operation.hpp
ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_device_operation_types.hpp
ttnn/cpp/ttnn/operations/eltwise/unary/unary_pybind.hpp
ttnn/cpp/ttnn/operations/embedding/device/embedding_device_operation.cpp
ttnn/cpp/ttnn/operations/embedding/device/embedding_device_operation.hpp
ttnn/cpp/ttnn/operations/embedding_backward/device/embedding_backward_device_operation.cpp
ttnn/cpp/ttnn/operations/embedding_backward/device/embedding_backward_device_operation.hpp
ttnn/cpp/ttnn/operations/experimental/ccl/reduce_scatter_async/device/reduce_scatter_async_program.cpp
ttnn/cpp/ttnn/operations/experimental/matmul/group_attn_matmul/device/kernels/compute/transformer_group_attn_matmul.cpp
ttnn/cpp/ttnn/operations/pool/maxpool/max_pool2d.cpp
ttnn/cpp/ttnn/operations/uniform/device/uniform_device_operation.cpp
ttnn/cpp/ttnn/operations/uniform/device/uniform_device_operation.hpp
ttnn/cpp/ttnn/tensor/types.hpp

tt-train/*

tests/*
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint
# - repo: https://github.com/pre-commit/mirrors-clang-format
# rev: v18.1.5
# hooks:
# - id: clang-format
# types_or: [c++, c]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.5
hooks:
- id: clang-format
types_or: [c++, c]

0 comments on commit 32eee4e

Please sign in to comment.