mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Namely this one ``` /Users/malfet/git/pytorch/pytorch/aten/src/ATen/native/mps/kernels/Shape.metal:19:18: warning: unused variable 'output_sizes' [-Wunused-variable] constant auto& output_sizes = shared_params.output_sizes; ^ /Users/malfet/git/pytorch/pytorch/aten/src/ATen/native/mps/kernels/Shape.metal:85:1: note: in instantiation of function template specialization 'cat<long, float, float>' requested here REGISTER_CAT_FOR_INDEX_TYPE(int64_t); ^ /Users/malfet/git/pytorch/pytorch/aten/src/ATen/native/mps/kernels/Shape.metal:69:3: note: expanded from macro 'REGISTER_CAT_FOR_INDEX_TYPE' REGISTER_CAT_OP_ALL_INPUT_TYPES(I, float); \ ^ /Users/malfet/git/pytorch/pytorch/aten/src/ATen/native/mps/kernels/Shape.metal:55:3: note: expanded from macro 'REGISTER_CAT_OP_ALL_INPUT_TYPES' REGISTER_CAT_OP(I, float, T_out); \ ^ /Users/malfet/git/pytorch/pytorch/aten/src/ATen/native/mps/kernels/Shape.metal:47:15: note: expanded from macro 'REGISTER_CAT_OP' kernel void cat<I, T_in, T_out>( \ ``` Repeated about 20-30 times Pull Request resolved: https://github.com/pytorch/pytorch/pull/165726 Approved by: https://github.com/Skylion007