moved OpenCL call to Decoder constructor