You can't compare them beyond they were both cruel dictators. Hitler singled out the Jews and other minorities for his psychotic hatred of them; Castro did not single out particular groups like that; but they were both ruthless towards their purely-political opponents. Castro did not hate Cubans or anyone else per se; he hated people who opposed him.