Box-counting algorithm on GPU and multi-core CPU: an OpenCL cross-platform study