diff --git a/dpctl/tensor/libtensor/include/kernels/accumulators.hpp b/dpctl/tensor/libtensor/include/kernels/accumulators.hpp index 407ea9e19a..f0d2e145fc 100644 --- a/dpctl/tensor/libtensor/include/kernels/accumulators.hpp +++ b/dpctl/tensor/libtensor/include/kernels/accumulators.hpp @@ -114,7 +114,7 @@ template class stack_t : src_(src), size_(sz), local_scans_(local_scans) { } - ~stack_t(){}; + ~stack_t() {}; T *get_src_ptr() const { return src_; } @@ -140,7 +140,7 @@ template class stack_strided_t local_stride_(local_stride) { } - ~stack_strided_t(){}; + ~stack_strided_t() {}; T *get_src_ptr() const { return src_; } diff --git a/dpctl/tensor/libtensor/include/utils/offset_utils.hpp b/dpctl/tensor/libtensor/include/utils/offset_utils.hpp index 84222d83ac..1657f6eb0c 100644 --- a/dpctl/tensor/libtensor/include/utils/offset_utils.hpp +++ b/dpctl/tensor/libtensor/include/utils/offset_utils.hpp @@ -51,7 +51,7 @@ namespace detail struct sink_t { - sink_t(){}; + sink_t() {}; template sink_t(T &&){}; }; diff --git a/examples/pybind11/external_usm_allocation/external_usm_allocation/_usm_alloc_example.cpp b/examples/pybind11/external_usm_allocation/external_usm_allocation/_usm_alloc_example.cpp index b982fcaa20..f92a99026e 100644 --- a/examples/pybind11/external_usm_allocation/external_usm_allocation/_usm_alloc_example.cpp +++ b/examples/pybind11/external_usm_allocation/external_usm_allocation/_usm_alloc_example.cpp @@ -49,7 +49,7 @@ struct DMatrix : n_(rows), m_(columns), q_(q), alloc_(q), vec_(n_ * m_, alloc_) { } - ~DMatrix(){}; + ~DMatrix() {}; DMatrix(const DMatrix &) = default; DMatrix(DMatrix &&) = default;