add equality comparisons similar to those in clFFT library