Let , , , be integers with . The classical and the homogeneous Dedekind sums are defined by
respectively, where
The Knopp identities for the classical and the homogeneous Dedekind sum were the following:
where . In this paper generalized homogeneous Hardy sums and Cochrane-Hardy sums are defined, and their arithmetic properties are studied. Generalized Knopp identities for homogeneous Hardy sums and Cochrane-Hardy sums are given.