diff --git a/c10/util/hash.h b/c10/util/hash.h index 35438df5468a..9d771e401ed4 100644 --- a/c10/util/hash.h +++ b/c10/util/hash.h @@ -309,7 +309,7 @@ struct hash> { size_t operator()(const std::pair& pair) const { std::tuple tuple = std::make_tuple(pair.first, pair.second); return _hash_detail::simple_get_hash(tuple); - }; + } }; template diff --git a/torch/csrc/jit/codegen/cuda/fusion.h b/torch/csrc/jit/codegen/cuda/fusion.h index 626d2ab7be6c..e726d793be75 100644 --- a/torch/csrc/jit/codegen/cuda/fusion.h +++ b/torch/csrc/jit/codegen/cuda/fusion.h @@ -4,7 +4,6 @@ #include #include -#include #include #include #include @@ -54,6 +53,7 @@ class WelfordResult; class SegmentCandidateFinder; class SegmentedFusion; +class KernelArgumentHolder; //! Fusion Guard is our "context manager". It holds the actrive fusion and //! allows it to be accessed anywhere through FusionGuard::getCurFusion()