Made sparsity target configurable
Use OpenCL exceptions
Minor code cleanup