Add a method to check whether a given kernel can be executed on the current device